test_class.declarator: exporter
test_class.modifier: private
test_class.original_string: private Exporter          exporter;
test_class.type: Exporter
test_class.var_name: exporter
test_class.declarator: sx
test_class.modifier: private
test_class.original_string: private ServerXAResource  sx;
test_class.type: ServerXAResource
test_class.var_name: sx
test_class.declarator: cx
test_class.modifier: private
test_class.original_string: private ClientXAResource  cx;
test_class.type: ClientXAResource
test_class.var_name: cx
test_class.declarator: res
test_class.modifier: private
test_class.original_string: private XAResource        res;
test_class.type: XAResource
test_class.var_name: res
test_class.declarator: xid
test_class.modifier: private
test_class.original_string: private Xid               xid;
test_class.type: Xid
test_class.var_name: xid
test_class.declarator: txn
test_class.modifier: private
test_class.original_string: private ClientTransactionListener txn;
test_class.type: ClientTransactionListener
test_class.var_name: txn
test_class.declarator: stxn
test_class.modifier: private
test_class.original_string: private ServerTransactionListener stxn;
test_class.type: ServerTransactionListener
test_class.var_name: stxn
test_class.file: akubra-rmi/src/test/java/org/akubraproject/rmi/client/ClientXAResourceTest.java
test_class.identifier: ClientXAResourceTest
test_case.body: @Test
    public void testRollback() throws XAException {
      reset(res);
      res.rollback(isA(SerializedXid.class));
      replay(res);
  
      cx.rollback(xid);
      verify(res);
    }
test_case.class_method_signature: ClientXAResourceTest.testRollback()
test_case.full_signature: @Test public void testRollback()
test_case.identifier: testRollback
test_case.invocations: reset rollback isA replay rollback verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRollback()
focal_class.declarator: remote
focal_class.modifier: private final
focal_class.original_string: private final RemoteXAResource  remote;
focal_class.type: RemoteXAResource
focal_class.var_name: remote
focal_class.declarator: txn
focal_class.modifier: private final
focal_class.original_string: private final ClientTransactionListener txn;
focal_class.type: ClientTransactionListener
focal_class.var_name: txn
focal_class.file: akubra-rmi/src/main/java/org/akubraproject/rmi/client/ClientXAResource.java
focal_class.identifier: ClientXAResource
focal_class.interfaces: implements XAResource
focal_class.class_method_signature: ClientXAResource.ClientXAResource(RemoteXAResource xaRes, ClientTransactionListener txn)
focal_class.full_signature: public  ClientXAResource(RemoteXAResource xaRes, ClientTransactionListener txn)
focal_class.identifier: ClientXAResource
focal_class.modifiers: public
focal_class.parameters: (RemoteXAResource xaRes, ClientTransactionListener txn)
focal_class.signature:  ClientXAResource(RemoteXAResource xaRes, ClientTransactionListener txn)
focal_class.class_method_signature: ClientXAResource.commit(Xid xid, boolean onePhase)
focal_class.full_signature: public void commit(Xid xid, boolean onePhase)
focal_class.identifier: commit
focal_class.modifiers: public
focal_class.parameters: (Xid xid, boolean onePhase)
focal_class.return: void
focal_class.signature: void commit(Xid xid, boolean onePhase)
focal_class.class_method_signature: ClientXAResource.end(Xid xid, int flags)
focal_class.full_signature: public void end(Xid xid, int flags)
focal_class.identifier: end
focal_class.modifiers: public
focal_class.parameters: (Xid xid, int flags)
focal_class.return: void
focal_class.signature: void end(Xid xid, int flags)
focal_class.class_method_signature: ClientXAResource.forget(Xid xid)
focal_class.full_signature: public void forget(Xid xid)
focal_class.identifier: forget
focal_class.modifiers: public
focal_class.parameters: (Xid xid)
focal_class.return: void
focal_class.signature: void forget(Xid xid)
focal_class.class_method_signature: ClientXAResource.getTransactionTimeout()
focal_class.full_signature: public int getTransactionTimeout()
focal_class.identifier: getTransactionTimeout
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTransactionTimeout()
focal_class.class_method_signature: ClientXAResource.isSameRM(XAResource xa)
focal_class.full_signature: public boolean isSameRM(XAResource xa)
focal_class.identifier: isSameRM
focal_class.modifiers: public
focal_class.parameters: (XAResource xa)
focal_class.return: boolean
focal_class.signature: boolean isSameRM(XAResource xa)
focal_class.class_method_signature: ClientXAResource.prepare(Xid xid)
focal_class.full_signature: public int prepare(Xid xid)
focal_class.identifier: prepare
focal_class.modifiers: public
focal_class.parameters: (Xid xid)
focal_class.return: int
focal_class.signature: int prepare(Xid xid)
focal_class.class_method_signature: ClientXAResource.recover(int flag)
focal_class.full_signature: public Xid[] recover(int flag)
focal_class.identifier: recover
focal_class.modifiers: public
focal_class.parameters: (int flag)
focal_class.return: Xid[]
focal_class.signature: Xid[] recover(int flag)
focal_class.class_method_signature: ClientXAResource.rollback(Xid xid)
focal_class.full_signature: public void rollback(Xid xid)
focal_class.identifier: rollback
focal_class.modifiers: public
focal_class.parameters: (Xid xid)
focal_class.return: void
focal_class.signature: void rollback(Xid xid)
focal_class.class_method_signature: ClientXAResource.setTransactionTimeout(int seconds)
focal_class.full_signature: public boolean setTransactionTimeout(int seconds)
focal_class.identifier: setTransactionTimeout
focal_class.modifiers: public
focal_class.parameters: (int seconds)
focal_class.return: boolean
focal_class.signature: boolean setTransactionTimeout(int seconds)
focal_class.class_method_signature: ClientXAResource.start(Xid xid, int flag)
focal_class.full_signature: public void start(Xid xid, int flag)
focal_class.identifier: start
focal_class.modifiers: public
focal_class.parameters: (Xid xid, int flag)
focal_class.return: void
focal_class.signature: void start(Xid xid, int flag)
focal_class.class_method_signature: ClientXAResource.serialized(Xid xid)
focal_class.full_signature: private static Xid serialized(Xid xid)
focal_class.identifier: serialized
focal_class.modifiers: private static
focal_class.parameters: (Xid xid)
focal_class.return: Xid
focal_class.signature: Xid serialized(Xid xid)
focal_method.body: public void rollback(Xid xid) throws XAException {
      try {
        remote.rollback(serialized(xid));
      } catch (RemoteException e) {
        throw (XAException) new XAException("RMI faiure").initCause(e);
      }
    }
focal_method.class_method_signature: ClientXAResource.rollback(Xid xid)
focal_method.full_signature: public void rollback(Xid xid)
focal_method.identifier: rollback
focal_method.invocations: rollback serialized initCause
focal_method.modifiers: public
focal_method.parameters: (Xid xid)
focal_method.return: void
focal_method.signature: void rollback(Xid xid)