Class ConnectionKey

java.lang.Object
org.apache.activemq.jms.pool.ConnectionKey

public class ConnectionKey extends Object
A cache key for the connection details
  • Constructor Details

    • ConnectionKey

      public ConnectionKey(String userName, String password)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(ConnectionKey that)
    • getPassword

      public String getPassword()
    • getUserName

      public String getUserName()
    • isEqual

      public static boolean isEqual(Object o1, Object o2)