Package org.datanucleus.state
package org.datanucleus.state
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.
-
ClassDescriptionSimple class to handle the copying of PK fields from an object id to an object.CallBack handlers receive notification of events on persistent objects.StateManager for DataNucleus systems for a managed object, extending the basic enhancement contract for a StateManager.A IllegalStateTransitionException is thrown if a life-cycle state attempts a transition that is illegal.Base Class representing the life cycle state.Interface defining a manager for locking of objects.Implementation of a lock manager for objects.Locking modes for persistable objects.Implementation of a StateManager for use where insertion ordering is important (such as RDBMS).Manager for (bidirectional) relationships of an object (StateManager).Manager for (bidirectional) relationships of an object (StateManager).Definition of a change in a relation.Definition of the saved state of a Persistable object.Factory for StateManagers.Factory for StateManagers.Implementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus.Pool of StateManager objects.