public interface ObjectServer
Db4o.openServer(String, int).openClient() Db4o.openClient(String, int, String, String).
grantAccess(String, String) to the username and password combination
that you want to use.| Modifier and Type | Method and Description |
|---|---|
boolean |
close()
closes the
ObjectServer and writes all cached data. |
ExtObjectServer |
ext()
returns an
ObjectServer with extended functionality. |
void |
grantAccess(java.lang.String userName,
java.lang.String password)
grants client access to the specified user with the specified password.
|
ObjectContainer |
openClient()
opens a client against this server.
|
boolean close()
ExtObjectServer ext()
ObjectServer with extended functionality.
ObjectServer can be casted to an ExtObjectServer.
void grantAccess(java.lang.String userName,
java.lang.String password)
userName - the name of the userpassword - the password to be usedObjectContainer openClient()
Db4o.openClient(java.lang.String, int, java.lang.String, java.lang.String)