Methods Summary |
---|
public void | begin()
throw new IllegalStateException("Operation not allowed");
|
public void | commit()
throw new IllegalStateException("Operation not allowed");
|
public int | getStatus()Obtain the status of the transaction associated with the current thread.
if ( transactionManager == null )
transactionManager = Switch.getSwitch().getTransactionManager();
return transactionManager.getStatus();
|
public javax.transaction.Transaction | getTransaction()Get the transaction object that represents the transaction
context of the calling thread
if ( transactionManager == null )
transactionManager = Switch.getSwitch().getTransactionManager();
Transaction tx = transactionManager.getTransaction();
if ( tx == null )
return null;
else
return new PMTransactionImpl(tx);
|
public void | resume(javax.transaction.Transaction suspended)
throw new IllegalStateException("Operation not allowed");
|
public void | rollback()
throw new IllegalStateException("Operation not allowed");
|
public void | setRollbackOnly()
throw new IllegalStateException("Operation not allowed");
|
public void | setTransactionTimeout(int seconds)
throw new IllegalStateException("Operation not allowed");
|
public javax.transaction.Transaction | suspend()
throw new IllegalStateException("Operation not allowed");
|