Provides classes relating to the life cycle state management of a persistable object. Refer to section 5.5 of the JDO 1.0 specification for a description of this type of StateManager. The org.datanucleus.enhancement.StateManager definition of a StateManager is extended by org.datanucleus.state.DNStateManager providing the additional handling needed for participating in the persistence process. Each persistable object has a particular org.datanucleus.state.LifeCycleState and the associated states for each API allow transitioning between states using the associated methods.
Interface Summary Interface Description CallbackHandlerCallBack handlers receive notification of events on persistent objects. DNStateManager<T>StateManager for DataNucleus systems for a managed object, extending the basic enhancement contract for a StateManager. LockManagerInterface defining a manager for locking of objects. RelationshipManagerManager for (bidirectional) relationships of an object (StateManager). StateManagerFactoryFactory for StateManagers.
Class Summary Class Description ActivityStateDefinition of the activity states of a StateManager. AppIdObjectIdFieldConsumerSimple class to handle the copying of PK fields from an object id to an object. LifeCycleStateBase Class representing the life cycle state. LockManagerImplImplementation of a lock manager for objects. ReferentialStateManagerImplImplementation of a StateManager for use where insertion ordering is important (such as RDBMS). RelationshipManagerImplManager for (bidirectional) relationships of an object (StateManager). StateManagerFactoryImplFactory for StateManagera. StateManagerImplImplementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus. StateManagerPoolPool of StateManager objects.
Enum Summary Enum Description LockModeLocking modes for persistable objects.
Exception Summary Exception Description IllegalStateTransitionExceptionA IllegalStateTransitionException is thrown if a life-cycle state attempts a transition that is illegal.