|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.config.SimpleNameProvider
public class SimpleNameProvider
Assigns a fixed, pre-defined name to the given ObjectContainer
.
Constructor Summary | |
---|---|
SimpleNameProvider(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.String |
name(ObjectContainer db)
Derives a name for the given ObjectContainer . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleNameProvider(java.lang.String name)
Method Detail |
---|
public java.lang.String name(ObjectContainer db)
NameProvider
ObjectContainer
. This method will be called when
database startup has completed, i.e. the method will see a completely initialized ObjectContainer
.
Any code invoked during the startup process (for example ConfigurationItem
instances) will still
see the default naming.
name
in interface NameProvider
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |