|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.common.TransactionStrategy org.jboss.soa.esb.common.TransactionStrategy.NullTransactionStrategy
public static class TransactionStrategy.NullTransactionStrategy
The null transaction strategy.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.soa.esb.common.TransactionStrategy |
---|
TransactionStrategy.NullTransactionStrategy |
Constructor Summary | |
---|---|
TransactionStrategy.NullTransactionStrategy()
|
Method Summary | |
---|---|
void |
begin()
Begin a transaction on the current thread. |
void |
enlistResource(javax.transaction.xa.XAResource resource)
Add a resource to the current transaction. |
java.lang.Object |
getTransaction()
Get a handle on the currently associated transaction (or null). |
boolean |
isActive()
Is the currently associated transaction active? |
void |
registerSynchronization(javax.transaction.Synchronization sync)
Add a synchronization to the current transaction. |
void |
resume(java.lang.Object tx)
Associated the transaction with the current thread. |
void |
rollbackOnly()
Mark the current transaction for rollback. |
java.lang.Object |
suspend()
Suspend the current thread-to-transaction association. |
void |
terminate()
Terminate the transaction on the current thread. |
java.lang.String |
toString()
|
Methods inherited from class org.jboss.soa.esb.common.TransactionStrategy |
---|
getTransactionStrategy, setTransactionStrategy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionStrategy.NullTransactionStrategy()
Method Detail |
---|
public void begin() throws TransactionStrategyException
begin
in class TransactionStrategy
TransactionStrategyException
public void terminate() throws TransactionStrategyException
terminate
in class TransactionStrategy
TransactionStrategyException
public void rollbackOnly() throws TransactionStrategyException
rollbackOnly
in class TransactionStrategy
TransactionStrategyException
public java.lang.Object getTransaction() throws TransactionStrategyException
getTransaction
in class TransactionStrategy
TransactionStrategyException
public java.lang.Object suspend() throws TransactionStrategyException
suspend
in class TransactionStrategy
TransactionStrategyException
public void resume(java.lang.Object tx) throws TransactionStrategyException
resume
in class TransactionStrategy
tx
-
TransactionStrategyException
public void registerSynchronization(javax.transaction.Synchronization sync) throws TransactionStrategyException
registerSynchronization
in class TransactionStrategy
sync
-
TransactionStrategyException
public void enlistResource(javax.transaction.xa.XAResource resource) throws TransactionStrategyException
enlistResource
in class TransactionStrategy
resource
-
TransactionStrategyException
public boolean isActive() throws TransactionStrategyException
isActive
in class TransactionStrategy
TransactionStrategyException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |