org.apache.activemq.pool
Class ConnectionKey
java.lang.Object
org.apache.activemq.pool.ConnectionKey
public class ConnectionKey
- extends Object
A cache key for the connection details
- Version:
- $Revision: 1.1 $
ConnectionKey
public ConnectionKey(String userName,
String password)
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 © 2011 Apache Software Foundation. All Rights Reserved.