Novell exteNd Messaging Platform 5.2

com.sssw.jms.api
Class JMQDestination

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended bycom.sssw.jbroker.orb.ValueWrapper
          extended bycom.sssw.jms.api.JMQAdministeredObject
              extended bycom.sssw.jms.api.JMQDestination
All Implemented Interfaces:
Destination, Object, Referenceable, Serializable
Direct Known Subclasses:
JMQQueue, JMQTopic

public abstract class JMQDestination
extends JMQAdministeredObject
implements Destination

The Novell exteNd Messaging Platform JMS destination. A destination is either a queue or a topic.

See Also:
JMQQueue, JMQTopic, Serialized Form

Field Summary
static int QUEUE
          Queue Destination.
static int TOPIC
          Topic Destination.
 
Method Summary
 String getName()
          Get the name of the destination
 int getType()
          Get the type of the destination
static JMQDestination toNative(Destination destination)
          Convert a JMS destination to a Novell exteNd Messaging Platform JMS destination.
 
Methods inherited from class com.sssw.jbroker.orb.ValueWrapper
_ids
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Field Detail

QUEUE

public static final int QUEUE
Queue Destination.

See Also:
Constant Field Values

TOPIC

public static final int TOPIC
Topic Destination.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Get the type of the destination

Returns:
the integer constant for the destination's type
See Also:
QUEUE, TOPIC

getName

public String getName()
Get the name of the destination

Returns:
name of destination

toNative

public static final JMQDestination toNative(Destination destination)
                                     throws JMSException
Convert a JMS destination to a Novell exteNd Messaging Platform JMS destination.

Parameters:
destination - a standard JMS destination
Returns:
a Novell exteNd Messaging Platform JMS specific destination object
Throws:
JMSException - if destination name could not be read

Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.