Package com.tibco.tibjms.admin
Class BridgeInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.BridgeInfo
 
- 
 public class BridgeInfo extends java.lang.ObjectThis class represents the definition of a bridge. A bridge consists of a source destination name and type and 1 or more BridgeTarget objects.
- 
- 
Constructor SummaryConstructors Constructor Description BridgeInfo(java.lang.Object json)For Internal use only, may be removed or deprecated in future.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name of the destination being bridged from.BridgeTarget[]getTargets()Get the destinations being bridged tointgetType()Get the type of the destination being bridged from.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
BridgeInfopublic BridgeInfo(java.lang.Object json) throws JMSExceptionFor Internal use only, may be removed or deprecated in future.- Throws:
- JMSException
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name of the destination being bridged from.- Returns:
- the name of the destination.
 
 - 
getTypepublic int getType() Get the type of the destination being bridged from.- Returns:
- DestinationInfo.QUEUE_TYPE if the destination being bridged from is a queue or DestinationInfo.TOPIC_TYPE if it is a topic.
 
 - 
getTargetspublic BridgeTarget[] getTargets() Get the destinations being bridged to- Returns:
- an array of BridgeTarget objects.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-