BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.jms.extensions
Interface WLDestination

All Superinterfaces:
Destination

public interface WLDestination
extends Destination

A WLDestination provides methods that are not supported by javax.jms.Destination.

WLDestination provides methods for the following:

See Also:
Destination, Queue, Topic
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 String getCreateDestinationArgument()
          Return a string suitable to use as an argument to Session.createQueue() or Session.createTopic().
 boolean isQueue()
          Determine if the destination is a JMS queue.
 boolean isTopic()
          Determine if the destination is a JMS topic.
 

Method Detail

getCreateDestinationArgument

public String getCreateDestinationArgument()
                                    throws JMSException

Return a string suitable to use as an argument to Session.createQueue() or Session.createTopic().

The DistributedDestination format for this string may be different from non-DistributedDestination format.

Throws:
JMSException - if a JMS error occurs
Since:
WebLogic Server 9.0.1
See Also:
Session.createQueue(java.lang.String), Session.createTopic(java.lang.String), DestinationBean.getJMSCreateDestinationIdentifier()

isQueue

public boolean isQueue()
Determine if the destination is a JMS queue.

Returns:
True if the destination is a JMS queue.
See Also:
Queue

isTopic

public boolean isTopic()
Determine if the destination is a JMS topic.

Returns:
True if the destination is a JMS topic.
See Also:
Topic

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.