org.apache.activemq.kaha
Class ContainerId

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

public class ContainerId
extends java.lang.Object
implements java.io.Externalizable

Used by RootContainers

See Also:
Serialized Form

Constructor Summary
ContainerId()
           
ContainerId(java.lang.Object key, java.lang.String dataContainerName)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDataContainerName()
           
 java.lang.Object getKey()
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.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(java.lang.Object key,
                   java.lang.String dataContainerName)
Method Detail

getDataContainerName

public java.lang.String getDataContainerName()
Returns:
Returns the dataContainerPrefix.

getKey

public java.lang.Object getKey()
Returns:
Returns the key.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

writeExternal

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

readExternal

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2011. All Rights Reserved.