Package | Description |
---|---|
org.apache.openjpa.enhance |
OpenJPA Enhancer
This package provides a bytecode enhancer used to
post-process classes for use in a OpenJPA runtime.
|
org.apache.openjpa.kernel |
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be
adapted for use with various data store mechanisms.
|
org.apache.openjpa.slice |
Extended OpenJPA Interfaces for distributed databases.
|
Modifier and Type | Method and Description |
---|---|
static void |
RedefinitionHelper.assignLazyLoadProxies(StateManagerImpl sm)
Create a container instance that will delegate back to the state
manager to emulate lazy loading.
|
Modifier and Type | Method and Description |
---|---|
StateManagerImpl |
StateManagerImpl.getObjectIdOwner() |
protected StateManagerImpl |
BrokerImpl.getStateManagerImpl(Object obj,
boolean assertThisContext)
Return the state manager for the given instance, or null.
|
protected StateManagerImpl |
BrokerImpl.getStateManagerImplById(Object oid,
boolean allowNew)
Return the state manager for the given oid.
|
protected StateManagerImpl |
BrokerImpl.initialize(StateManagerImpl sm,
boolean load,
FetchConfiguration fetch,
Object edata)
Initialize a newly-constructed state manager.
|
protected StateManagerImpl |
BrokerImpl.newStateManagerImpl(Object oid,
ClassMetaData meta)
Create a state manager for the given oid and metadata.
|
Modifier and Type | Method and Description |
---|---|
protected Map<StateManagerImpl,org.apache.openjpa.kernel.SavepointFieldManager> |
OpenJPASavepoint.getStates()
Return the map of states to savepoint data.
|
protected Collection<StateManagerImpl> |
BrokerImpl.getTransactionalStates()
Return a copy of all transactional state managers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BrokerImpl.assignObjectId(Object cache,
Object id,
StateManagerImpl sm)
Assign the object id to the cache.
|
protected StateManagerImpl |
BrokerImpl.initialize(StateManagerImpl sm,
boolean load,
FetchConfiguration fetch,
Object edata)
Initialize a newly-constructed state manager.
|
protected boolean |
AuditManager.isAuditable(AuditableOperation op,
StateManagerImpl sm)
Affirms if the given state manager is auditable for the given operation.
|
protected void |
DetachedStateManager.provideField(Object toAttach,
StateManagerImpl sm,
int field) |
protected void |
BrokerImpl.setStateManager(Object id,
StateManagerImpl sm,
int status)
Set the cached StateManager for the instance that had the given oid.
|
Modifier and Type | Method and Description |
---|---|
void |
DetachManagerLite.detachAll(Collection<StateManagerImpl> states)
This method will detach all provided StateManagers in place.
|
void |
OpenJPASavepoint.save(Collection<StateManagerImpl> states)
Set this savepoint, saving any state for the passed-in
OpenJPAStateManager s as necessary. |
Constructor and Description |
---|
StateManagerImpl(StateManagerImpl sm)
Create a new StateManager instance based on the StateManager provided.
|
StateManagerImpl(StateManagerImpl sm,
PCState newState)
Create a new StateManager instance, optionally overriding the state
(FLUSHED, DELETED, etc) of the underlying PersistenceCapable instance).
|
Modifier and Type | Method and Description |
---|---|
protected void |
DistributedBrokerImpl.setStateManager(Object id,
StateManagerImpl sm,
int status) |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.