Package com.tibco.tibjms.admin
Class BridgeInfo
- java.lang.Object
-
- com.tibco.tibjms.admin.BridgeInfo
-
public class BridgeInfo extends java.lang.Object
This class represents the definition of a bridge. A bridge consists of a source destination name and type and 1 or more BridgeTarget objects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get the name of the destination being bridged from.BridgeTarget[]
getTargets()
Get the destinations being bridged toint
getType()
Get the type of the destination being bridged from.java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the destination being bridged from.- Returns:
- the name of the destination.
-
getType
public 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.
-
getTargets
public BridgeTarget[] getTargets()
Get the destinations being bridged to- Returns:
- an array of BridgeTarget objects.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-