db4o 2.5

com.db4o.ext
Interface ExtObjectServer

All Superinterfaces:
ObjectServer

public interface ExtObjectServer
extends ObjectServer

extended functionality for the ObjectServer interface.

Every ObjectServer also always is an ExtObjectServer so a cast is possible.

ObjectServer.ext() is a convenient method to perform the cast.

The functionality is split to two interfaces to allow newcomers to focus on the essential methods.


Method Summary
 Configuration configure()
          returns the Configuration context for this ObjectServer.
 ObjectContainer objectContainer()
          returns the ObjectContainer used by the server.
 void revokeAccess(java.lang.String userName)
          removes client access permissions for the specified user.
 
Methods inherited from interface com.db4o.ObjectServer
close, ext, grantAccess
 

Method Detail

configure

public Configuration configure()
returns the Configuration context for this ObjectServer.

Upon opening an ObjectServer with any of the factory methods in the Db4o class, the global Configuration context is copied into the ObjectServer. The Configuration can be modified individually for each ObjectServer without any effects on the global settings.

Returns:
Configuration the Configuration context for this ObjectServer
See Also:
Db4o#configure()

objectContainer

public ObjectContainer objectContainer()
returns the ObjectContainer used by the server.

Returns:
the ObjectContainer used by the server

revokeAccess

public void revokeAccess(java.lang.String userName)
removes client access permissions for the specified user.

Parameters:
userName - the name of the user

db4o 2.5