public final class RemoteTransaction extends AbstractTransaction
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
boolean |
delistResource(XAResource xaRes,
int flag) |
boolean |
enlistResource(XAResource xaRes) |
boolean |
equals(Object obj) |
<T> T |
getProviderInterface(Class<T> providerInterfaceType)
Get a provider-specific interface from this transaction.
|
int |
getRemainingTime() |
int |
getStatus() |
int |
hashCode() |
void |
registerSynchronization(Synchronization sync) |
void |
rollback() |
void |
setRollbackOnly() |
registerAssociationListenerpublic <T> T getProviderInterface(Class<T> providerInterfaceType)
AbstractTransactiongetProviderInterface in class AbstractTransactionT - 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 commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
SystemException
public void rollback()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionpublic int getStatus()
public boolean enlistResource(XAResource xaRes)
public boolean delistResource(XAResource xaRes, int flag)
public void registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException
public int getRemainingTime()
Copyright © 2017 JBoss by Red Hat. All rights reserved.