public RemotingOperations getOperations(final Connection connection) throws IOException { return new EJBTransactionOperations(connection); } }
public int prepare(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; return executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_PREPARE_REQUEST, true, false, false); }
throw readAppException(channel, response);
throw readAppException(channel, response);
public void rollback(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_ROLLBACK_REQUEST, false, false, false); }
throw readAppException(channel, response);
public RemotingOperations getOperations(final Connection connection) throws IOException { return new EJBTransactionOperations(connection); } }
public void beforeCompletion(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_BEFORE_COMPLETION_REQUEST, false, false, false); }
throw readAppException(channel, response);
public RemotingOperations getOperations(final Connection connection) throws IOException { return new EJBTransactionOperations(connection); } }
public void forget(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_FORGET_REQUEST, false, false, false); }
throw readAppException(channel, response);
public void commit(final Xid xid, final boolean onePhase, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_COMMIT_REQUEST, false, true, onePhase); }
throw readAppException(channel, response);
public void commit(final Xid xid, final boolean onePhase, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_COMMIT_REQUEST, false, true, onePhase); }
public int prepare(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; return executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_PREPARE_REQUEST, true, false, false); }
public void rollback(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_ROLLBACK_REQUEST, false, false, false); }
public void forget(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_FORGET_REQUEST, false, false, false); }
public void rollback(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_ROLLBACK_REQUEST, false, false, false); }
public void beforeCompletion(final Xid xid, final ConnectionPeerIdentity peerIdentity) throws XAException { assert peerIdentity.getId() == 0; executeSimpleInvocation(new XidTransactionID(xid), Protocol.TXN_BEFORE_COMPLETION_REQUEST, false, false, false); }