|
TIBCO Enterprise Message Service | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tibco.tibjms.admin.DestinationBridgeInfo
public class DestinationBridgeInfo
This class replaces the old BridgeInfo class to represent bridges between destinations. DestinationBridgeInfo objects can be created and then passed to a TibjmsAdmin object to create or update the bridge on the EMS server. DestinationBridgeInfo objects represent a bridge between a single source and a single target unlike the old BridgeInfo objects which had one source but could have multuple targets. To modify a DestinationBridgeInfo object it is necessary to delete the old bridge and create a new one.
| Constructor Summary | |
|---|---|
DestinationBridgeInfo(int sourceType,
java.lang.String sourceName,
int targetType,
java.lang.String targetName,
java.lang.String selector)
Create a DestinationBridgeInfo object that will bridge between two destinations with an optional selector. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSelector()
Get the selector used by this bridge. |
java.lang.String |
getSourceName()
Get the name of the destination that is the source for this bridge. |
int |
getSourceType()
Get the type of the destination that is the source for this bridge. |
java.lang.String |
getTargetName()
Get the name of the destination that is the target for this bridge. |
int |
getTargetType()
Get the type of the destination that is the target for this bridge. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DestinationBridgeInfo(int sourceType,
java.lang.String sourceName,
int targetType,
java.lang.String targetName,
java.lang.String selector)
sourceType - the type of the source destination, either DestinationInfo.QUEUE_TYPE or DestinationInfo.TOPIC_TYPEsourceName - the name of the source destinationtargetType - the type of the target destination either DestinationInfo.QUEUE_TYPE or DestinationInfo.TOPIC_TYPEtargetName - the name of the target destinationselector - the selector (can be null)| Method Detail |
|---|
public int getSourceType()
DestinationInfo.QUEUE_TYPE or DestinationInfo.TOPIC_TYPEpublic java.lang.String getSourceName()
public int getTargetType()
DestinationInfo.QUEUE_TYPE or DestinationInfo.TOPIC_TYPEpublic java.lang.String getTargetName()
public java.lang.String getSelector()
public java.lang.String toString()
toString in class java.lang.Object
|
TIBCO Enterprise Message Service | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||