Class JmsTransactionInfo

    • Method Detail

      • getId

        public JmsTransactionId getId()
        Description copied from interface: JmsResource
        Returns the assigned resource ID for this JmsResource instance.
        Specified by:
        getId in interface JmsResource
        Returns:
        the assigned resource ID for this JmsResource instance.
      • getSessionId

        public JmsSessionId 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()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • visit

        public void visit​(JmsResourceVistor visitor)
                   throws java.lang.Exception
        Description copied from interface: JmsResource
        Allows a visitor object to walk the resources and process them.
        Specified by:
        visit in interface JmsResource
        Parameters:
        visitor - The visitor instance that is processing this resource.
        Throws:
        java.lang.Exception - if an error occurs while visiting this resource.