|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.admin.DestinationInfo
com.tibco.tibjms.admin.TopicInfo
This class represents a topic that is configured on the EMS server.
Field Summary |
Fields inherited from class com.tibco.tibjms.admin.DestinationInfo |
ALL_TYPE, MSG_TRACE_BASIC, MSG_TRACE_DETAIL, MSG_TRACE_NONE, OVERFLOW_DEFAULT, OVERFLOW_DISCARD_OLD, QUEUE_TYPE, TOPIC_TYPE |
Constructor Summary | |
TopicInfo(java.lang.String topicName)
The public constructor creates a TopicInfo object with the given name. |
Method Summary | |
void |
addExportTransport(java.lang.String transportName)
Add a new export transport to the list of transports this destination exports messages to. |
boolean |
areExportTransportsInherited()
Determines if the list of transports this topic exports messages on was inherited from a parent topic or whether it was set on the topic directly. |
int |
getActiveDurableCount()
Get the current number of active durable subscribers for this topic. |
int |
getDurableCount()
Get the current number of durable subscribers for this topic. |
java.lang.String[] |
getExportTransports()
Get the names of the transports that this topic exports messages on. |
int |
getSubscriberCount()
Get the current number of subscribers for this topic. |
boolean |
isCMExported()
Deprecated. As of EMS Version 3.1.0, please view TIBCO Rendezvous exports using getExportTransports . |
boolean |
isCMExportedInherited()
Deprecated. As of EMS Version 3.1.0, please view TIBCO Rendezvous export inheritance using areExportTransportsInherited . |
boolean |
isExported()
Deprecated. As of EMS Version 3.1.0, please view TIBCO Rendezvous exports using getExportTransports . |
boolean |
isExportedInherited()
Deprecated. As of EMS Version 3.1.0, please view TIBCO Rendezvous export inheritance using areExportTransportsInherited . |
void |
removeExportTransport(java.lang.String transportName)
Remove an export transport from the list of transports this destination exports messages to. |
void |
setCMExported(boolean exported)
Deprecated. As of EMS Version 3.1.0, please configure TIBCO Rendezvous exports using addExportTransport . |
void |
setExported(boolean exported)
Deprecated. As of EMS Version 3.1.0, please configure TIBCO Rendezvous exports using addExportTransport . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TopicInfo(java.lang.String topicName)
topicName
- The name for the topic being created.Method Detail |
public boolean isExported()
getExportTransports
.
public boolean isExportedInherited()
areExportTransportsInherited
.
public void setExported(boolean exported)
addExportTransport
.
exported
- true if the topic should be exported to Tibrv, false if it should not.public boolean isCMExported()
getExportTransports
.
public boolean isCMExportedInherited()
areExportTransportsInherited
.
public void setCMExported(boolean exported)
addExportTransport
.
exported
- true if the topic should be exported to Tibrv, false if it should not.public java.lang.String[] getExportTransports()
public boolean areExportTransportsInherited()
public void addExportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameException
transportName
- the name of the transport.
TibjmsAdminInvalidNameException
- if transportName is not a legal
transport namepublic void removeExportTransport(java.lang.String transportName) throws TibjmsAdminInvalidNameException, TibjmsAdminException
transportName
- the name of the transport.
TibjmsAdminInvalidNameException
- if transportName is not a legal
transport name
TibjmsAdminException
- if export transports are inheritedpublic int getSubscriberCount()
public int getDurableCount()
public int getActiveDurableCount()
public java.lang.String toString()
|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |