Package org.apache.qpid.jms.meta
Class JmsTransactionInfo
java.lang.Object
org.apache.qpid.jms.meta.JmsAbstractResource
org.apache.qpid.jms.meta.JmsTransactionInfo
- All Implemented Interfaces:
Comparable<JmsTransactionInfo>,JmsResource
public final class JmsTransactionInfo
extends JmsAbstractResource
implements Comparable<JmsTransactionInfo>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.jms.meta.JmsResource
JmsResource.ResourceState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(JmsTransactionInfo other) copy()booleangetId()Returns the assigned resource ID for this JmsResource instance.inthashCode()booleanvoidsetInDoubt(boolean inDoubt) toString()voidvisit(JmsResourceVistor visitor) Allows a visitor object to walk the resources and process them.Methods inherited from class org.apache.qpid.jms.meta.JmsAbstractResource
getState, isClosed, setState
-
Constructor Details
-
JmsTransactionInfo
-
-
Method Details
-
copy
-
getId
Description copied from interface:JmsResourceReturns the assigned resource ID for this JmsResource instance.- Specified by:
getIdin interfaceJmsResource- Returns:
- the assigned resource ID for this JmsResource instance.
-
getSessionId
- Returns:
- the JmsSessionId of the Session that this transaction is owned by.
-
isInDoubt
public boolean isInDoubt()- Returns:
- the inDoubt
-
setInDoubt
public void setInDoubt(boolean inDoubt) - Parameters:
inDoubt- the inDoubt to set
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<JmsTransactionInfo>
-
toString
-
visit
Description copied from interface:JmsResourceAllows a visitor object to walk the resources and process them.- Specified by:
visitin interfaceJmsResource- Parameters:
visitor- The visitor instance that is processing this resource.- Throws:
Exception- if an error occurs while visiting this resource.
-