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: txn
test_class.modifier: private
test_class.original_string: private ServerTransactionListener txn;
test_class.type: ServerTransactionListener
test_class.var_name: txn
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: 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.file: akubra-rmi/src/test/java/org/akubraproject/rmi/server/ServerXAResourceTest.java
test_class.identifier: ServerXAResourceTest
test_case.body: @Test
    public void testSetTransactionTimeout() throws RemoteException, XAException {
      reset(res);
      expect(res.setTransactionTimeout(42)).andReturn(true);
      replay(res);
  
      assertTrue(sx.setTransactionTimeout(42));
      verify(res);
    }
test_case.class_method_signature: ServerXAResourceTest.testSetTransactionTimeout()
test_case.full_signature: @Test public void testSetTransactionTimeout()
test_case.identifier: testSetTransactionTimeout
test_case.invocations: reset andReturn expect setTransactionTimeout replay assertTrue setTransactionTimeout verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetTransactionTimeout()
focal_class.declarator: serialVersionUID = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long       serialVersionUID = 1L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: xaRes
focal_class.modifier: private final
focal_class.original_string: private final XAResource        xaRes;
focal_class.type: XAResource
focal_class.var_name: xaRes
focal_class.declarator: txnListener
focal_class.modifier: private final
focal_class.original_string: private final ServerTransactionListener txnListener;
focal_class.type: ServerTransactionListener
focal_class.var_name: txnListener
focal_class.file: akubra-rmi/src/main/java/org/akubraproject/rmi/server/ServerXAResource.java
focal_class.identifier: ServerXAResource
focal_class.interfaces: implements RemoteXAResource
focal_class.class_method_signature: ServerXAResource.ServerXAResource(XAResource xaRes, ServerTransactionListener txnListener, Exporter exporter)
focal_class.full_signature: public  ServerXAResource(XAResource xaRes, ServerTransactionListener txnListener, Exporter exporter)
focal_class.identifier: ServerXAResource
focal_class.modifiers: public
focal_class.parameters: (XAResource xaRes, ServerTransactionListener txnListener, Exporter exporter)
focal_class.signature:  ServerXAResource(XAResource xaRes, ServerTransactionListener txnListener, Exporter exporter)
focal_class.class_method_signature: ServerXAResource.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: ServerXAResource.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: ServerXAResource.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: ServerXAResource.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: ServerXAResource.isSameRM(RemoteXAResource remote)
focal_class.full_signature: public boolean isSameRM(RemoteXAResource remote)
focal_class.identifier: isSameRM
focal_class.modifiers: public
focal_class.parameters: (RemoteXAResource remote)
focal_class.return: boolean
focal_class.signature: boolean isSameRM(RemoteXAResource remote)
focal_class.class_method_signature: ServerXAResource.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: ServerXAResource.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: ServerXAResource.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: ServerXAResource.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: ServerXAResource.start(Xid xid, int flags)
focal_class.full_signature: public void start(Xid xid, int flags)
focal_class.identifier: start
focal_class.modifiers: public
focal_class.parameters: (Xid xid, int flags)
focal_class.return: void
focal_class.signature: void start(Xid xid, int flags)
focal_class.class_method_signature: ServerXAResource.getXAResource()
focal_class.full_signature:  XAResource getXAResource()
focal_class.identifier: getXAResource
focal_class.parameters: ()
focal_class.return: XAResource
focal_class.signature: XAResource getXAResource()
focal_class.superclass: extends UnicastExportable
focal_method.body: public boolean setTransactionTimeout(int seconds) throws XAException {
      return xaRes.setTransactionTimeout(seconds);
    }
focal_method.class_method_signature: ServerXAResource.setTransactionTimeout(int seconds)
focal_method.full_signature: public boolean setTransactionTimeout(int seconds)
focal_method.identifier: setTransactionTimeout
focal_method.invocations: setTransactionTimeout
focal_method.modifiers: public
focal_method.parameters: (int seconds)
focal_method.return: boolean
focal_method.signature: boolean setTransactionTimeout(int seconds)