Package com.tibco.tibjms.admin
Class BridgeTarget
- java.lang.Object
- 
- com.tibco.tibjms.admin.BridgeTarget
 
- 
 public class BridgeTarget extends java.lang.ObjectThis class represents the target destination of a bridge.
- 
- 
Field SummaryFields Modifier and Type Field Description static intQUEUE_TYPEIndicates that the target of the bridge is a queue.static intTOPIC_TYPEIndicates that the target of the bridge is a topic.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeTargetfrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.java.lang.StringgetName()Get the name of the destination being bridged to.java.lang.StringgetSelector()Get the selector.intgetType()Get the type of the destination being bridged to.java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
QUEUE_TYPEpublic static final int QUEUE_TYPE Indicates that the target of the bridge is a queue.- Since:
- EMS 4.4
- See Also:
- Constant Field Values
 
 - 
TOPIC_TYPEpublic static final int TOPIC_TYPE Indicates that the target of the bridge is a topic.- Since:
- EMS 4.4
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name of the destination being bridged to.- Returns:
- the name of the destination.
 
 - 
getTypepublic int getType() Get the type of the destination being bridged to.- Returns:
- QUEUE_TYPEif the destination being bridged to is a queue or- TOPIC_TYPEif it is a topic.
 
 - 
getSelectorpublic java.lang.String getSelector() Get the selector. Only messages matching the selector will be bridged to this destination.- Returns:
- the selector or null if one is not set.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
frompublic static BridgeTarget from(javax.management.openmbean.CompositeData cd) throws java.lang.Exception For Internal use only, may be removed or deprecated in future.- Returns:
- a BridgeTarget object from CompositeData
- Throws:
- java.lang.IllegalArgumentException- if CompositeType does not match or if a null CompositeData is passed.
- java.lang.Exception
 
 
- 
 
-