org.apache.activemq.kaha
Class ContainerId

java.lang.Object
  extended by org.apache.activemq.kaha.ContainerId
All Implemented Interfaces:
Externalizable, Serializable

public class ContainerId
extends Object
implements Externalizable

Used by RootContainers

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Constructor Summary
ContainerId()
           
ContainerId(Object key, String dataContainerName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDataContainerName()
           
 Object getKey()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerId

public ContainerId()

ContainerId

public ContainerId(Object key,
                   String dataContainerName)
Method Detail

getDataContainerName

public String getDataContainerName()
Returns:
Returns the dataContainerPrefix.

getKey

public Object getKey()
Returns:
Returns the key.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.