| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface DestinationDetail
A DestinationDetail contains information about a destination or a distributed destination member.
If the registration is made with a JNDI name of a Foreign JMS Server destination, the DestinationDetail contains the information about the remote destination or one of its members.
JMSDestinationAvailabilityHelper, 
DestinationAvailabilityListener| Field Summary | |
|---|---|
| static int | DESTINATION_TYPE_DD_QUEUEA member of a WebLogic 9.0 or later distributed queue. | 
| static int | DESTINATION_TYPE_FOREIGN_QUEUEA third-party (non-WebLogic) queue. | 
| static int | DESTINATION_TYPE_FOREIGN_TOPICA third-party (non-WebLogic) topic. | 
| static int | DESTINATION_TYPE_PARTITIONED_DTA member of a WebLogic partitioned distributed topic. | 
| static int | DESTINATION_TYPE_PHYSICAL_QUEUEA regular (non-Distributed) WebLogic queue, or WebLogic pre-9.0 distributed queue. | 
| static int | DESTINATION_TYPE_PHYSICAL_TOPICA regular (non-Distributed) WebLogic topic, or WebLogic pre-9.0 distributed topic. | 
| static int | DESTINATION_TYPE_REPLICATED_DTA member of a WebLogic 9.0 or later replicated distributed topic. | 
| Method Summary | |
|---|---|
|  String | getCreateDestinationArgument()The name used to get a destination reference using javax.jms.Session.createTopicorjavax.jms.Session.createQueue. | 
|  Destination | getDestination()The destination object of this distributed destination member or destination. | 
|  String | getJMSServerConfigName()The name of the JMS server config name that hosts this destination. | 
|  String | getJMSServerName()The name of the JMS server instance that hosts this destination. | 
|  String | getJNDIName()The JNDI name of this distributed destination member or destination. | 
|  int | getMemberType()The member type of this destination. | 
|  String | getMemberTypeAsString() | 
|  int | getType()The type of this destination. | 
|  String | getTypeAsString() | 
|  boolean | isAdvancedTopicSupported()Indicates if this destination is running on a 11gR1PS2 (WebLogic 10.3.3) or later release. | 
|  boolean | isLocalCluster()Indicates if this destination detail is a reference for a distributed destination member that is running in the same WebLogic cluster as the destination availability listener. | 
|  boolean | isLocalWLSServer()Indicates if this destination detail is a reference for a distributed destination member that is running on the same WebLogic server as the destination availability listener. | 
|  String | toString()The JNDI name of this destination or member. | 
| Field Detail | 
|---|
static final int DESTINATION_TYPE_PHYSICAL_QUEUE
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_PHYSICAL_TOPIC
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_FOREIGN_QUEUE
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_FOREIGN_TOPIC
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_DD_QUEUE
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_REPLICATED_DT
DestinationDetail.getType(), 
Constant Field Valuesstatic final int DESTINATION_TYPE_PARTITIONED_DT
DestinationDetail.getType(), 
Constant Field Values| Method Detail | 
|---|
String getJNDIName()
Destination getDestination()
int getType()
The type of this destination. The returned type depends on the registered JNDI name:
Registration of a JNDI name of a distributed destination
 member is treated as a regular (non-distributed) destination
 registration. In this case, the destination type in DestinationDetail
 notifications are either
 DestinationDetail.DESTINATION_TYPE_PHYSICAL_QUEUE
 or
 DestinationDetail.DESTINATION_TYPE_PHYSICAL_TOPIC.
String getTypeAsString()
String getJMSServerName()
null if this destination is a third party (non-WebLogic) destination
 or a WebLogic pre-9.0 distributed destination.
String getJMSServerConfigName()
null if this destination is a third party (non-WebLogic) destination
 or a WebLogic pre-9.0 distributed destination.
String getCreateDestinationArgument()
The name used to get a destination reference
 using javax.jms.Session.createTopic
 or javax.jms.Session.createQueue.
null for foreign vendors. This method
 is rarely used. Most applications should use getJNDIName()
 in combination with JNDI lookups instead.
createTopic or createQueue.boolean isAdvancedTopicSupported()
true if this destination is running on a 11gR1PS2
         (WebLogic 10.3.3) or later release. Otherwise false.boolean isLocalWLSServer()
true if this destination detail
 is a reference for a distributed destination member
 that is running on 
 the same WebLogic server as the destination
 availability listener. Always returns false
 if the destination is a pre-9.0 WebLogic distributed destination,
 a foreign (non-WebLogic) destination, or a regular destination. 
 For a WebLogic 9.0 or later distributed destination member,
 only returns false when the member is not running
 on the same server as the listener. When used by a stand-alone client,
 this method always returns false.boolean isLocalCluster()
true if this destination detail
 is a reference for a distributed destination member
 that is running in 
 the same WebLogic cluster as the destination
 availability listener. Always returns false
 if the destination is a pre-9.0 WebLogic distributed destination,
 a foreign (non-WebLogic) destination, or a regular destination.
 For a WebLogic 9.0 or later distributed destination member, only
 returns false when the member is not running in the
 same cluster as the listener. When used by a stand-alone client,
 this method always returns false.int getMemberType()
The member type of this destination. The returned type depends on the hosting JMSServer's targeting option:
String getMemberTypeAsString()
String toString()
toString in class Object| 
 | Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||