|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
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_QUEUE A member of a WebLogic 9.0 or later distributed queue. |
static int |
DESTINATION_TYPE_FOREIGN_QUEUE A third-party (non-WebLogic) queue. |
static int |
DESTINATION_TYPE_FOREIGN_TOPIC A third-party (non-WebLogic) topic. |
static int |
DESTINATION_TYPE_PARTITIONED_DT A member of a WebLogic partitioned distributed topic. |
static int |
DESTINATION_TYPE_PHYSICAL_QUEUE A regular (non-Distributed) WebLogic queue, or WebLogic pre-9.0 distributed queue. |
static int |
DESTINATION_TYPE_PHYSICAL_TOPIC A regular (non-Distributed) WebLogic topic, or WebLogic pre-9.0 distributed topic. |
static int |
DESTINATION_TYPE_REPLICATED_DT A member of a WebLogic 9.0 or later replicated distributed topic. |
Method Summary | |
---|---|
abstract String |
getCreateDestinationArgument() The name used to get a destination reference using javax.jms.Session.createTopic or javax.jms.Session.createQueue . |
abstract Destination |
getDestination() The destination object of this distributed destination member or destination. |
abstract String |
getJMSServerConfigName() The name of the JMS server config name that hosts this destination. |
abstract String |
getJMSServerName() The name of the JMS server instance that hosts this destination. |
abstract String |
getJNDIName() The JNDI name of this distributed destination member or destination. |
abstract int |
getMemberType() The member type of this destination. |
abstract String |
getMemberTypeAsString() |
abstract String |
getPartitionName() |
abstract int |
getType() The type of this destination. |
abstract String |
getTypeAsString() |
abstract boolean |
isAdvancedTopicSupported() Indicates if this destination is running on a 11gR1PS2 (WebLogic 10.3.3) or later release. |
abstract 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. |
abstract 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. |
abstract 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 ValuesMethod 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 getPartitionName()
String toString()
toString
in class Object
|
Copyright 1996, 2015, 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.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |