@Test public void testCopy() { JmsTransactionInfo info = new JmsTransactionInfo(firstSessionId, firstTxId); JmsTransactionInfo copy = info.copy(); assertEquals(info, copy); }
public JmsTransactionInfo copy() { return new JmsTransactionInfo(sessionId, transactionId); }
JmsTransactionInfo extends JmsAbstractResource implements Comparable<JmsTransactionInfo> { public JmsTransactionInfo copy() { return new JmsTransactionInfo(sessionId, transactionId); } }
JmsTransactionInfo extends JmsAbstractResource implements Comparable<JmsTransactionInfo> { public JmsTransactionInfo copy() { return new JmsTransactionInfo(sessionId, transactionId); } JmsTransactionInfo(JmsSessionId sessionId, JmsTransactionId transactionId); }
JmsTransactionInfo extends JmsAbstractResource implements Comparable<JmsTransactionInfo> { public JmsTransactionInfo copy() { return new JmsTransactionInfo(sessionId, transactionId); } JmsTransactionInfo(JmsSessionId sessionId, JmsTransactionId transactionId); JmsTransactionInfo copy(); @Override JmsTransactionId getId(); JmsSessionId getSessionId(); boolean isInDoubt(); void setInDoubt(boolean inDoubt); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(JmsTransactionInfo other); @Override String toString(); @Override void visit(JmsResourceVistor visitor); }
JmsTransactionInfo extends JmsAbstractResource implements Comparable<JmsTransactionInfo> { public JmsTransactionInfo copy() { return new JmsTransactionInfo(sessionId, transactionId); } JmsTransactionInfo(JmsSessionId sessionId, JmsTransactionId transactionId); JmsTransactionInfo copy(); @Override JmsTransactionId getId(); JmsSessionId getSessionId(); boolean isInDoubt(); void setInDoubt(boolean inDoubt); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(JmsTransactionInfo other); @Override String toString(); @Override void visit(JmsResourceVistor visitor);  }