Joram 4.3.20

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()
           
 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

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

Overrides:
toString in class java.lang.Object

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
Throws:
AdminException
java.net.ConnectException

Joram 4.3.20

Copyright © 2005 Scalagent - All rights reserved