db4o |

# ObjectConstructor.OnInstantiate Method

db4o calls this method when a stored object needs to be instantiated.

object OnInstantiate(
ObjectContainer container,
object storedObject
);

#### Parameters

container
  the ObjectContainer used
storedObject
  the object stored with ObjectTranslator.onStore .

#### Return Value

the instantiated object.

#### Remarks

db4o calls this method when a stored object needs to be instantiated.

#### See Also

ObjectConstructor Interface | com.db4o.config Namespace