Package | Description |
---|---|
org.datanucleus |
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
org.datanucleus.store.connection |
Package defining the connection to the datastore.
|
Modifier and Type | Class and Description |
---|---|
class |
JTAJCATransactionImpl
A transaction that is synchronised with a Java Transaction Service (JTA) transaction with JCA.
|
class |
JTATransactionImpl
Transaction that is synchronized with a Java Transaction Service (JTA) transaction.
|
class |
TransactionImpl
Implementation of a transaction for an ExecutionContext, for a datastore.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
ExecutionContext.getTransaction()
Accessor for the current transaction for this execution context.
|
Transaction |
ExecutionContextImpl.getTransaction()
Accessor for the current transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectProvider.postCommit(Transaction tx)
Convenience interceptor to allow operations to be performed after the commit is performed
but before returning control to the application.
|
void |
StateManagerImpl.postCommit(Transaction tx)
This method is invoked just after a commit is performed in a Transaction involving the persistable object managed by this StateManager
|
void |
ObjectProvider.preBegin(Transaction tx)
Convenience interceptor to allow operations to be performed before the begin is performed
|
void |
StateManagerImpl.preBegin(Transaction tx)
Method invoked just before a transaction starts for the ExecutionContext managing us.
|
void |
ObjectProvider.preRollback(Transaction tx)
Convenience interceptor to allow operations to be performed before any rollback is
performed.
|
void |
StateManagerImpl.preRollback(Transaction tx)
This method is invoked just before a rollback is performed in a Transaction involving the persistable object managed by this StateManager.
|
LifeCycleState |
LifeCycleState.transitionBegin(ObjectProvider op,
Transaction tx)
Method to transition to transaction begin state.
|
LifeCycleState |
LifeCycleState.transitionCommit(ObjectProvider op,
Transaction tx)
Method to transition to commit state.
|
LifeCycleState |
LifeCycleState.transitionRollback(ObjectProvider op,
Transaction tx)
Method to transition to rollback state.
|
Modifier and Type | Method and Description |
---|---|
ManagedConnection |
ConnectionManagerImpl.getConnection(boolean primary,
ExecutionContext ec,
Transaction txn) |
ManagedConnection |
ConnectionManager.getConnection(boolean primary,
ExecutionContext ec,
Transaction txn)
Accessor for a connection from the specified factory, for the specified ExecutionContext dependent on whether the connection will be enlisted.
|
Copyright © 2019. All rights reserved.