Package | Description |
---|---|
org.springframework.jms.listener |
This package contains the base message listener container facility.
|
org.springframework.transaction |
Exception hierarchy for Spring's transaction infrastructure,
independent of any specific transaction management system.
|
org.springframework.transaction.interceptor |
AOP-based solution for declarative transaction demarcation.
|
org.springframework.transaction.support |
Support classes for the org.springframework.transaction package.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractPollingMessageListenerContainer.doReceiveAndExecute(java.lang.Object invoker,
Session session,
MessageConsumer consumer,
TransactionStatus status)
Actually execute the listener for a message received from the given consumer,
fetching all requires resources and invoking the listener.
|
Modifier and Type | Method and Description |
---|---|
TransactionStatus |
PlatformTransactionManager.getTransaction(TransactionDefinition definition)
Return a currently active transaction or create a new one, according to
the specified propagation behavior.
|
Modifier and Type | Method and Description |
---|---|
void |
PlatformTransactionManager.commit(TransactionStatus status)
Commit the given transaction, with regard to its status.
|
void |
PlatformTransactionManager.rollback(TransactionStatus status)
Perform a rollback of the given transaction.
|
Modifier and Type | Method and Description |
---|---|
static TransactionStatus |
TransactionAspectSupport.currentTransactionStatus()
Return the transaction status of the current method invocation.
|
TransactionStatus |
TransactionAspectSupport.TransactionInfo.getTransactionStatus() |
Modifier and Type | Method and Description |
---|---|
void |
TransactionAspectSupport.TransactionInfo.newTransactionStatus(TransactionStatus status) |
protected TransactionAspectSupport.TransactionInfo |
TransactionAspectSupport.prepareTransactionInfo(PlatformTransactionManager tm,
TransactionAttribute txAttr,
java.lang.String joinpointIdentification,
TransactionStatus status)
Prepare a TransactionInfo for the given attribute and status object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransactionStatus
Abstract base implementation of the
TransactionStatus interface. |
class |
DefaultTransactionStatus
Default implementation of the
TransactionStatus
interface, used by AbstractPlatformTransactionManager . |
class |
SimpleTransactionStatus
A simple
TransactionStatus
implementation. |
Modifier and Type | Method and Description |
---|---|
TransactionStatus |
AbstractPlatformTransactionManager.getTransaction(TransactionDefinition definition)
This implementation handles propagation behavior.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPlatformTransactionManager.commit(TransactionStatus status)
This implementation of commit handles participating in existing
transactions and programmatic rollback requests.
|
T |
TransactionCallback.doInTransaction(TransactionStatus status)
Gets called by
TransactionTemplate.execute(org.springframework.transaction.support.TransactionCallback<T>) within a transactional context. |
java.lang.Object |
TransactionCallbackWithoutResult.doInTransaction(TransactionStatus status) |
protected abstract void |
TransactionCallbackWithoutResult.doInTransactionWithoutResult(TransactionStatus status)
Gets called by
TransactionTemplate.execute within a transactional
context. |
void |
AbstractPlatformTransactionManager.rollback(TransactionStatus status)
This implementation of rollback handles participating in existing
transactions.
|