org.apache.activemq.jms.pool
Class ConnectionKey

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

public class ConnectionKey
extends Object

A cache key for the connection details


Constructor Summary
ConnectionKey(String userName, String password)
           
 
Method Summary
 boolean equals(ConnectionKey that)
           
 boolean equals(Object that)
           
 String getPassword()
           
 String getUserName()
           
 int hashCode()
           
static boolean isEqual(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionKey

public ConnectionKey(String userName,
                     String password)
Method Detail

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)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.