Class JmsConnectionRequestInfo

  • All Implemented Interfaces:
    javax.resource.spi.ConnectionRequestInfo

    public class JmsConnectionRequestInfo
    extends Object
    implements javax.resource.spi.ConnectionRequestInfo
    Request information used in pooling
    Author:
    Peter Antman., Adrian Brock
    • Constructor Detail

      • JmsConnectionRequestInfo

        public JmsConnectionRequestInfo​(JmsMCFProperties prop)
        Creats with the MCF configured properties.
        Parameters:
        prop -
      • JmsConnectionRequestInfo

        public JmsConnectionRequestInfo​(boolean transacted,
                                        int acknowledgeMode,
                                        int type)
        Create with specified properties.
    • Method Detail

      • setDefaults

        public void setDefaults​(JmsMCFProperties prop)
        Fill in default values if missing. Only applies to user and password.
      • getUserName

        public String getUserName()
      • setUserName

        public void setUserName​(String name)
      • getPassword

        public char[] getPassword()
      • setPassword

        public void setPassword​(char[] password)
      • setPassword

        public void setPassword​(String password)
      • getClientID

        public String getClientID()
      • setClientID

        public void setClientID​(String clientID)
      • isTransacted

        public boolean isTransacted()
      • getAcknowledgeMode

        public int getAcknowledgeMode()
      • getType

        public int getType()
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface javax.resource.spi.ConnectionRequestInfo
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface javax.resource.spi.ConnectionRequestInfo
        Overrides:
        hashCode in class Object