public abstract class AbstractTransaction extends Object implements Transaction
| Modifier and Type | Method and Description |
|---|---|
int |
getEstimatedRemainingTime()
Get an estimate of the amount of time remaining in this transaction.
|
<T> T |
getProviderInterface(Class<T> providerInterfaceType)
Get a provider-specific interface from this transaction.
|
abstract int |
getTransactionTimeout()
Get the transaction timeout that was in force when the transaction began.
|
void |
registerAssociationListener(AssociationListener associationListener)
Register an association listener for this transaction, which will be called any time this thread is suspended
or resumed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommit, delistResource, enlistResource, getStatus, registerSynchronization, rollback, setRollbackOnlypublic abstract int getTransactionTimeout()
public final int getEstimatedRemainingTime()
public <T> T getProviderInterface(Class<T> providerInterfaceType)
T - the provider interface typeproviderInterfaceType - the provider interface type class (must not be null)null if the given type isn't supported by this transaction's providerpublic void registerAssociationListener(AssociationListener associationListener)
associationListener - the association listener (must not be null)Copyright © 2017 JBoss by Red Hat. All rights reserved.