Package | Description |
---|---|
org.datanucleus.api |
Provides adapters for different client APIs, like JDO, JPA and so on.
|
org.datanucleus.enhancement |
DataNucleus ByteCode enhancement contract.
|
org.datanucleus.enhancer |
DataNucleus ByteCode enhancer framework.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
Modifier and Type | Method and Description |
---|---|
default StateManager |
ApiAdapter.getStateManager(Object pc)
Accessor for the state manager for the object.
|
Modifier and Type | Method and Description |
---|---|
StateManager |
Persistable.dnGetStateManager()
Return the associated StateManager if there is one.
|
StateManager |
StateManager.replacingStateManager(Persistable pc,
StateManager sm)
Replace the current value of
dnStateManager . |
Modifier and Type | Method and Description |
---|---|
Persistable |
Persistable.dnNewInstance(StateManager sm)
Return a new instance of this class, with the StateManager set to the parameter, and dnFlags set to LOAD_REQUIRED.
|
Persistable |
Persistable.dnNewInstance(StateManager sm,
Object oid)
Return a new instance of this class, with the StateManager set to the parameter, key fields
initialized to the values in the oid, and dnFlags set to LOAD_REQUIRED.
|
void |
Persistable.dnReplaceStateManager(StateManager sm)
This method sets the StateManager instance that manages the state of this instance.
|
StateManager |
StateManager.replacingStateManager(Persistable pc,
StateManager sm)
Replace the current value of
dnStateManager . |
Modifier and Type | Method and Description |
---|---|
static void |
EnhancementHelper.checkAuthorizedStateManager(StateManager sm)
Check that the parameter instance is of a class that is authorized for JDOPermission("setStateManager").
|
Persistable |
EnhancementHelper.newInstance(Class pcClass,
StateManager sm)
Create a new instance of the class and assign its StateManager.
|
Persistable |
EnhancementHelper.newInstance(Class pcClass,
StateManager sm,
Object oid)
Create a new instance of the class and assign its StateManager and key values from the ObjectId.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ObjectProvider<T>
Provider of field information for a managed object.
|
Modifier and Type | Class and Description |
---|---|
class |
ReferentialStateManagerImpl
Implementation of a StateManager for use where insertion ordering is important (such as RDBMS).
|
class |
StateManagerImpl
Implementation of a StateManager, supporting the bytecode enhancement contract of DataNucleus.
|
Modifier and Type | Method and Description |
---|---|
StateManager |
StateManagerImpl.replacingStateManager(Persistable pc,
StateManager sm)
Replace the current value of StateManager in the Persistable object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StateManagerImpl.replaceStateManager(Persistable pc,
StateManager sm)
Utility to update the passed object with the passed StateManager (can be null).
|
StateManager |
StateManagerImpl.replacingStateManager(Persistable pc,
StateManager sm)
Replace the current value of StateManager in the Persistable object.
|
Copyright © 2019. All rights reserved.