|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 TransactionStrategyTransactionStrategyException
public void terminate()
throws TransactionStrategyException
terminate in class TransactionStrategyTransactionStrategyException
public void rollbackOnly()
throws TransactionStrategyException
rollbackOnly in class TransactionStrategyTransactionStrategyException
public java.lang.Object getTransaction()
throws TransactionStrategyException
getTransaction in class TransactionStrategyTransactionStrategyException
public java.lang.Object suspend()
throws TransactionStrategyException
suspend in class TransactionStrategyTransactionStrategyException
public void resume(java.lang.Object tx)
throws TransactionStrategyException
resume in class TransactionStrategytx -
TransactionStrategyException
public void registerSynchronization(javax.transaction.Synchronization sync)
throws TransactionStrategyException
registerSynchronization in class TransactionStrategysync -
TransactionStrategyException
public void enlistResource(javax.transaction.xa.XAResource resource)
throws TransactionStrategyException
enlistResource in class TransactionStrategyresource -
TransactionStrategyException
public boolean isActive()
throws TransactionStrategyException
isActive in class TransactionStrategyTransactionStrategyExceptionpublic 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 | ||||||||