<xml> </xml>

db4o |

# ExtObjectContainer Members

ExtObjectContainer overview

#### Public Instance Methods

Backup | backs up a database file of an open ObjectContainer.
Bind | binds an object to an internal object ID.
Collections | returns the com.db4o.types.Db4oCollections interface to create or modify database-aware collections for this com.db4o.ObjectContainer .
Configure | returns the Configuration context for this ObjectContainer.
Descend | returns a member at the specific path without activating intermediate objects.
GetByID | returns the stored object for an internal ID.

GetByUUID

returns a stored object for a com.db4o.ext.Db4oUUID .
This method is intended for replication and for long-term external references to objects. To get a com.db4o.ext.Db4oUUID for an object use com.db4o.ext.ExtObjectContainer.GetObjectInfo and com.db4o.ext.ObjectInfo.GetUUID .
Objects will not be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

GetID | returns the internal unique object ID.

GetObjectInfo

returns the com.db4o.ext.ObjectInfo for a stored object.
This method will return null, if the passed object is not stored to this

    ObjectContainer

.

Identity | returns the Db4oDatabase identity object for this ObjectContainer.
IsActive | tests if an object is activated.
IsCached | tests if an object with this ID is currently cached.

IsClosed

tests if this

    ObjectContainer

is closed.

IsStored

tests if an object is stored in this

    ObjectContainer

.

KnownClasses | returns all class representations that are known to this ObjectContainer because they have been used or stored.
Lock | returns the main synchronisation lock.
MigrateFrom | aids migration of objects between ObjectContainers.
PeekPersisted | returns a transient copy of a persistent object with all members set to the values that are currently stored to the database.
Purge | Overloaded. unloads all clean indices from memory and frees unused objects.
Reflector | Return the reflector currently being used by db4objects.
Refresh | refreshs all members on a stored object to the specified depth.
ReleaseSemaphore | releases a semaphore, if the calling transaction is the owner.

ReplicationBegin

prepares for replication with another com.db4o.ObjectContainer .
An com.db4o.ObjectContainer can only be involved in a replication process with one other com.db4o.ObjectContainer at the same time.
The returned com.db4o.replication.ReplicationProcess interface provides methods to commit and to cancel the replication process.
This ObjectContainer will be "peerA" for the returned ReplicationProcess. The other ObjectContainer will be "peerB".

Set | deep update interface to store or update objects.
SetSemaphore | attempts to set a semaphore.
StoredClass | returns a com.db4o.ext.StoredClass meta information object. There are three options how to use this method. Any of the following parameters are possible: - a fully qualified classname. - a Class object. - any object to be used as a template.
StoredClasses | returns an array of all com.db4o.ext.StoredClass meta information objects.
Version | returns the current transaction serial number.

#### See Also

ExtObjectContainer Interface | com.db4o.ext Namespace