|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
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 | |
---|---|
String |
getCreateDestinationArgument()
The name used to get a destination reference using javax.jms.Session.createTopic
or javax.jms.Session.createQueue . |
Destination |
getDestination()
The destination object of this distributed destination member or destination. |
String |
getJMSServerName()
The name of the JMS server that hosts this destination. |
String |
getJNDIName()
The JNDI name of this distributed destination member or destination. |
int |
getType()
The type of this destination. |
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 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 getJMSServerName()
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
.String toString()
toString
in class Object
|
Copyright 1996, 2011, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |