Methods Summary |
---|
public void | commit()
//TODO: First pass only.
txn.commit();
|
public boolean | delistResource(javax.transaction.xa.XAResource xAResource, int state)
// TODO: First pass only.
return txn.delistResource(xAResource, state);
|
public boolean | enlistParticipant(com.sun.xml.ws.api.tx.Participant participant)
final ATParticipant atParticipant =
new ATParticipant(getATCoordinator(), participant);
atParticipant.register();
return true;
|
public boolean | enlistResource(javax.transaction.xa.XAResource xaResource)Wrapper XAResource as a participant and enlist with this transaction's coordinator.
Contemplating removing this method but leave for now.
XAResources from managed connections are automatically enlisted with Java EE transaction.
return txn.enlistResource(xaResource);
|
public void | forget()
coordIdATtxnMap.remove(coordCtx.getIdentifier());
|
public static com.sun.xml.ws.tx.common.ATTransactionImpl | get(java.lang.String coordinationId)
return coordIdATtxnMap.get(coordinationId);
|
private com.sun.xml.ws.tx.coordinator.Coordinator | getATCoordinator()Get coordinator for this transaction.
return COORDINATOR;
|
public int | getStatus()
throw new UnsupportedOperationException("Not yet implemented");
|
public void | registerSynchronization(javax.transaction.Synchronization synchronization)
txn.registerSynchronization(synchronization);
|
public void | rollback()
txn.rollback();
|
public void | setRollbackOnly()
txn.setRollbackOnly();
|