Package org.objectweb.joram.client.jms
Interface TopicMBean
-
- All Superinterfaces:
DestinationMBean
- All Known Implementing Classes:
TemporaryTopic,Topic
public interface TopicMBean extends DestinationMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getSubscriberIds()Monitoring method returning an array containing the ids of users that subscribes on this topic.intgetSubscriptions()Monitoring method returning the number of users that subscribes on this topic.-
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean
addInterceptors, addReader, addWriter, delete, getAdminName, getDMQId, getInterceptors, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeInterceptors, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable
-
-
-
-
Method Detail
-
getSubscriptions
int getSubscriptions() throws ConnectException, AdminExceptionMonitoring method returning the number of users that subscribes on this topic. If a client has many subscriptions it is only counted once.- Throws:
ConnectExceptionAdminException
-
getSubscriberIds
String[] getSubscriberIds() throws AdminException, ConnectException
Monitoring method returning an array containing the ids of users that subscribes on this topic. If a client has many subscriptions its ids appears once.- Throws:
AdminExceptionConnectException
-
-