public class JavaTextFactory extends AbstractMultiPersistenceFactory
classes, definitions, nameToClass, nameToDefinition| Constructor and Description |
|---|
JavaTextFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createFromState(PersistentState state)
Create an instance of the object represented by the state.
|
protected void |
makeDefinitions()
Create DynStruct definition and call to
#addDefinition(Class, DynStruct)
to add to the factory. |
void |
saveToState(PersistentState state,
Object obj)
Fill
state with data to persist of obj. |
addDefinition, addManagedClass, getDefinition, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, manages, toStringprotected void makeDefinitions()
AbstractMultiPersistenceFactory#addDefinition(Class, DynStruct)
to add to the factory.makeDefinitions in class AbstractMultiPersistenceFactorypublic Object createFromState(PersistentState state) throws PersistenceException
PersistenceFactoryPersistenceFactory.loadFromState(PersistentState, Object) only create
the object.PersistenceExceptionpublic void saveToState(PersistentState state, Object obj) throws PersistenceException
PersistenceFactorystate with data to persist of obj.PersistenceException