Methods Summary |
---|
public void | commit()
throw new IllegalStateException("Operation not allowed");
|
public boolean | delistResource(javax.transaction.xa.XAResource res, int flags)
throw new IllegalStateException("Operation not allowed");
|
public boolean | enlistResource(javax.transaction.xa.XAResource res)
throw new IllegalStateException("Operation not allowed");
|
public boolean | equals(java.lang.Object object)
if (object == this)
return true;
else if ( !(object instanceof PMTransactionImpl) )
return false;
else
return tx.equals(((PMTransactionImpl)object).tx);
|
public int | getStatus()
return tx.getStatus();
|
public int | hashCode()
return tx.hashCode();
|
public void | registerSynchronization(javax.transaction.Synchronization pmsync)
// to make sure ejbStores are called before pmsync.beforeCompletion
Switch theSwitch = Switch.getSwitch();
ContainerFactoryImpl cf = (ContainerFactoryImpl)theSwitch.getContainerFactory();
cf.getContainerSync(tx).addPMSynchronization(pmsync);
|
public void | rollback()
throw new IllegalStateException("Operation not allowed");
|
public void | setRollbackOnly()
tx.setRollbackOnly();
|