Package com.adaptris.core.transaction
Interface TransactionManager
-
- All Superinterfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension
- All Known Implementing Classes:
SharedTransactionManager
public interface TransactionManager extends AdaptrisComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginTransaction()booleancommit()voiddelistXAResource(java.lang.String name, javax.transaction.xa.XAResource xaResource, int status)voiddeRegisterXAResource(java.lang.String name, javax.jms.XAConnectionFactory connectionFactory)voidenlistXAResource(java.lang.String name, javax.transaction.xa.XAResource xaResource)voidregisterXAResource(java.lang.String name, javax.jms.XAConnectionFactory connectionFactory)voidrollback()voidsetRollbackOnly()booleantransactionIsActive()-
Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueId
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
Methods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepare
-
-
-
-
Method Detail
-
registerXAResource
void registerXAResource(java.lang.String name, javax.jms.XAConnectionFactory connectionFactory) throws java.lang.Exception- Throws:
java.lang.Exception
-
deRegisterXAResource
void deRegisterXAResource(java.lang.String name, javax.jms.XAConnectionFactory connectionFactory) throws java.lang.Exception- Throws:
java.lang.Exception
-
enlistXAResource
void enlistXAResource(java.lang.String name, javax.transaction.xa.XAResource xaResource) throws java.lang.Exception- Throws:
java.lang.Exception
-
delistXAResource
void delistXAResource(java.lang.String name, javax.transaction.xa.XAResource xaResource, int status) throws java.lang.Exception- Throws:
java.lang.Exception
-
beginTransaction
void beginTransaction() throws java.lang.Exception- Throws:
java.lang.Exception
-
commit
boolean commit() throws java.lang.Exception- Throws:
java.lang.Exception
-
rollback
void rollback() throws java.lang.Exception- Throws:
java.lang.Exception
-
transactionIsActive
boolean transactionIsActive() throws java.lang.Exception- Throws:
java.lang.Exception
-
setRollbackOnly
void setRollbackOnly() throws java.lang.Exception- Throws:
java.lang.Exception
-
-