org.exolab.jms.message
Class DestinationImpl

java.lang.Object
  |
  +--org.exolab.jms.message.DestinationImpl
All Implemented Interfaces:
java.lang.Cloneable, javax.jms.Destination, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
JmsDestination

public class DestinationImpl
extends java.lang.Object
implements java.lang.Cloneable, javax.jms.Destination, java.io.Externalizable

Implementation of the Destination interface.

Version:
$Revision: 1.1 $ $Date: 2004/11/26 01:50:43 $
Author:
Jim Mourikis
See Also:
Destination, Serialized Form

Constructor Summary
DestinationImpl()
           
DestinationImpl(java.lang.String destination)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getDestination()
           
 boolean isEqual(DestinationImpl toCompare)
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
          Return a pretty printed version of the topic name.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DestinationImpl

public DestinationImpl()

DestinationImpl

public DestinationImpl(java.lang.String destination)
Method Detail

writeExternal

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

readExternal

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

getDestination

public java.lang.String getDestination()

toString

public java.lang.String toString()
Return a pretty printed version of the topic name.
Overrides:
toString in class java.lang.Object
Returns:
the provider specific identity values for this topic.

isEqual

public boolean isEqual(DestinationImpl toCompare)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.