Joram 5.3.1

org.objectweb.joram.client.jms
Interface TopicMBean

All Superinterfaces:
DestinationMBean
All Known Implementing Classes:
TemporaryTopic, Topic

public interface TopicMBean
extends DestinationMBean


Method Summary
 java.lang.String[] getSubscriberIds()
          Monitoring method returning an array containing the ids of users that subscribes on this topic.
 int getSubscriptions()
          Monitoring method returning the number of users that subscribes on this topic.
 
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean
addReader, addWriter, delete, getAdminName, getDMQId, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable
 

Method Detail

getSubscriptions

int getSubscriptions()
                     throws java.net.ConnectException,
                            AdminException
Monitoring method returning the number of users that subscribes on this topic. If a client has many subscriptions it is only counted once.

Throws:
java.net.ConnectException
AdminException

getSubscriberIds

java.lang.String[] getSubscriberIds()
                                    throws AdminException,
                                           java.net.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:
AdminException
java.net.ConnectException

Joram 5.3.1

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved