public interface ExtObjectServer extends ObjectServer
ObjectServer.ext()
is a convenient method to perform the cast.| Modifier and Type | Method and Description |
|---|---|
void |
backup(java.lang.String path)
backs up the database file used by the ObjectServer.
|
int |
clientCount()
returns the number of connected clients.
|
Configuration |
configure()
returns the
Configuration context for this ObjectServer. |
ObjectContainer |
objectContainer()
returns the ObjectContainer used by the server.
|
int |
port() |
void |
revokeAccess(java.lang.String userName)
removes client access permissions for the specified user.
|
close, ext, grantAccess, openClientvoid backup(java.lang.String path)
throws java.io.IOException
path - a fully qualified pathjava.io.IOExceptionint clientCount()
Configuration configure()
Configuration context for this ObjectServer.
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.Db4o.configure()ObjectContainer objectContainer()
void revokeAccess(java.lang.String userName)
userName - the name of the userint port()