org.huihoo.jfox.ms.jms.base
Class DestinationImpl

java.lang.Object
  extended byorg.huihoo.jfox.ms.jms.base.DestinationImpl
All Implemented Interfaces:
javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable
Direct Known Subclasses:
QueueImpl, TopicImpl

public class DestinationImpl
extends java.lang.Object
implements javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable

This class implements javax.jms.Destination.

Version:
Revision: 1.1 Date: 2002-11-17 19:36:21
Author:
Peter.Cheng
See Also:
Serialized Form

Field Summary
static int QUEUE
           
static int TOPIC
           
 
Constructor Summary
DestinationImpl()
           
DestinationImpl(java.lang.String name)
          Create DestinationImpl with given name.
 
Method Summary
 java.lang.String getName()
          Return destination name.
 javax.naming.Reference getReference()
           
 void setName(java.lang.String name)
          Set destination name.
 java.lang.String toString()
          Return destination name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUEUE

public static final int QUEUE
See Also:
Constant Field Values

TOPIC

public static final int TOPIC
See Also:
Constant Field Values
Constructor Detail

DestinationImpl

public DestinationImpl()

DestinationImpl

public DestinationImpl(java.lang.String name)
Create DestinationImpl with given name.

Parameters:
name -
Method Detail

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException

toString

public java.lang.String toString()
Return destination name.

Returns:
provider specific identity for destination.

setName

public void setName(java.lang.String name)
Set destination name.

Parameters:
name -

getName

public java.lang.String getName()
Return destination name.

Returns:
name


Copyright © 2002-2003 Open Enterprise Foundation. All Rights Reserved.