Joram ${version}

org.objectweb.joram.client.jms
Interface DestinationMBean

All Known Subinterfaces:
QueueMBean, TopicMBean
All Known Implementing Classes:
Destination, Queue, Topic

public interface DestinationMBean


Method Summary
 void addReader(java.lang.String proxyId)
           
 void addWriter(java.lang.String proxyId)
           
 void delete()
          Admin method removing this destination from the platform.
 java.lang.String getAdminName()
           
 DeadMQueue getDMQ()
          Monitoring method returning the dead message queue of this destination, null if not set.
 java.lang.String getName()
           
 java.util.List getReaderList()
          Monitoring method returning the list of all users that have a reading permission on this destination, or an empty list if no specific readers are set.
 java.util.Hashtable getStatistic()
           
 java.lang.String getType()
           
 java.util.List getWriterList()
          Monitoring method returning the list of all users that have a writing permission on this destination, or an empty list if no specific writers are set.
 boolean isFreelyReadable()
          Monitoring method returning true if this destination provides free READ access.
 boolean isFreelyWriteable()
          Monitoring method returning true if this destination provides free WRITE access.
 boolean isQueue()
          Returns true if the destination is a queue.
 void removeReader(java.lang.String proxyId)
           
 void removeWriter(java.lang.String proxyId)
           
 void setDMQ(DeadMQueue dmq)
          Admin method setting or unsetting a dead message queue for this destination.
 void setFreelyReadable(boolean b)
          Admin method setting free reading access to this destination.
 void setFreelyWriteable(boolean b)
          Admin method setting free writing access to this destination.
 

Method Detail

getName

public java.lang.String getName()

getAdminName

public java.lang.String getAdminName()

getType

public java.lang.String getType()

isQueue

public boolean isQueue()
Returns true if the destination is a queue.


delete

public void delete()
            throws java.net.ConnectException,
                   AdminException,
                   javax.jms.JMSException
Admin method removing this destination from the platform.

Throws:
java.net.ConnectException
AdminException
javax.jms.JMSException

addReader

public void addReader(java.lang.String proxyId)
               throws java.net.ConnectException,
                      AdminException
Throws:
java.net.ConnectException
AdminException

addWriter

public void addWriter(java.lang.String proxyId)
               throws java.net.ConnectException,
                      AdminException
Throws:
java.net.ConnectException
AdminException

removeReader

public void removeReader(java.lang.String proxyId)
                  throws java.net.ConnectException,
                         AdminException
Throws:
java.net.ConnectException
AdminException

removeWriter

public void removeWriter(java.lang.String proxyId)
                  throws java.net.ConnectException,
                         AdminException
Throws:
java.net.ConnectException
AdminException

getReaderList

public java.util.List getReaderList()
                             throws java.net.ConnectException,
                                    AdminException
Monitoring method returning the list of all users that have a reading permission on this destination, or an empty list if no specific readers are set.

Throws:
java.net.ConnectException
AdminException

getWriterList

public java.util.List getWriterList()
                             throws java.net.ConnectException,
                                    AdminException
Monitoring method returning the list of all users that have a writing permission on this destination, or an empty list if no specific writers are set.

Throws:
java.net.ConnectException
AdminException

isFreelyReadable

public boolean isFreelyReadable()
                         throws java.net.ConnectException,
                                AdminException
Monitoring method returning true if this destination provides free READ access.

Throws:
java.net.ConnectException
AdminException

isFreelyWriteable

public boolean isFreelyWriteable()
                          throws java.net.ConnectException,
                                 AdminException
Monitoring method returning true if this destination provides free WRITE access.

Throws:
java.net.ConnectException
AdminException

setFreelyReadable

public void setFreelyReadable(boolean b)
                       throws java.net.ConnectException,
                              AdminException
Admin method setting free reading access to this destination.

Throws:
java.net.ConnectException
AdminException

setFreelyWriteable

public void setFreelyWriteable(boolean b)
                        throws java.net.ConnectException,
                               AdminException
Admin method setting free writing access to this destination.

Throws:
java.net.ConnectException
AdminException

getDMQ

public DeadMQueue getDMQ()
                  throws java.net.ConnectException,
                         AdminException
Monitoring method returning the dead message queue of this destination, null if not set.

Throws:
java.net.ConnectException
AdminException

setDMQ

public void setDMQ(DeadMQueue dmq)
            throws java.net.ConnectException,
                   AdminException
Admin method setting or unsetting a dead message queue for this destination.

Throws:
java.net.ConnectException
AdminException

getStatistic

public java.util.Hashtable getStatistic()
                                 throws java.net.ConnectException,
                                        AdminException
Throws:
java.net.ConnectException
AdminException

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved