Class PooledConnectionKey

java.lang.Object
org.messaginghub.pooled.jms.pool.PooledConnectionKey

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

    • PooledConnectionKey

      public PooledConnectionKey(String userName, String password)
      Creates a new ConnectionKey using the supplied values.
      Parameters:
      userName - The user name that this key represents
      password - The password that this key represents
  • Method Details

    • getPassword

      public String getPassword()
    • getUserName

      public String getUserName()
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object