org.exolab.jms.message
Class DestinationImpl

java.lang.Object
  extended by org.exolab.jms.message.DestinationImpl
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, javax.jms.Destination
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.7 $ $Date: 2003/08/17 01:32:24 $
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
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

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
Throws:
java.lang.CloneNotSupportedException


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