Joram ${version}

org.objectweb.joram.client.jms
Interface TopicMBean

All Superinterfaces:
DestinationMBean
All Known Implementing Classes:
Topic

public interface TopicMBean
extends DestinationMBean


Method Summary
 java.lang.String[] getSubscriberIds()
           
 int getSubscriptions()
          Monitoring method returning the number of users that subscribes on this topic.
 java.lang.String toString()
          Returns a String image of the topic.
 
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean
addReader, addWriter, delete, getAdminName, getDMQ, getName, getReaderList, getStatistic, getType, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable
 

Method Detail

toString

public java.lang.String toString()
Returns a String image of the topic.


getSubscriptions

public 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

public java.lang.String[] getSubscriberIds()
                                    throws AdminException,
                                           java.net.ConnectException
Throws:
AdminException
java.net.ConnectException

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved