com.extrememessaging.ResponseMaster
Class CMailboxMBean

java.lang.Object
  extended by com.extrememessaging.ResponseMaster.CMailbox
      extended by com.extrememessaging.ResponseMaster.CMailboxMBean
All Implemented Interfaces:
java.lang.Runnable, javax.management.DynamicMBean

public class CMailboxMBean
extends CMailbox
implements javax.management.DynamicMBean


Constructor Summary
CMailboxMBean()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute_name)
          Allows the value of the specified attribute of the Dynamic MBean to be obtained.
 javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
           
 javax.management.MBeanInfo getMBeanInfo()
          This method provides the exposed attributes and operations of the Dynamic MBean.
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
          Allows an operation to be invoked on the Dynamic MBean.
 void setAttribute(javax.management.Attribute attribute)
          Normally, sets the value of the specified attribute of the Dynamic MBean.
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
           
 void Shutdown()
          Tells the mailbox to shutdown
 
Methods inherited from class com.extrememessaging.ResponseMaster.CMailbox
GetName, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMailboxMBean

public CMailboxMBean()
Method Detail

Shutdown

public void Shutdown()
Description copied from class: CMailbox
Tells the mailbox to shutdown


getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] attributeNames)
Specified by:
getAttributes in interface javax.management.DynamicMBean

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
Specified by:
setAttributes in interface javax.management.DynamicMBean

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute_name)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException
Allows the value of the specified attribute of the Dynamic MBean to be obtained.

Specified by:
getAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Normally, sets the value of the specified attribute of the Dynamic MBean. In this case, always throws because everything is readonly.

Specified by:
setAttribute in interface javax.management.DynamicMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Allows an operation to be invoked on the Dynamic MBean.

Specified by:
invoke in interface javax.management.DynamicMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
This method provides the exposed attributes and operations of the Dynamic MBean. It provides this information using an MBeanInfo object.

Specified by:
getMBeanInfo in interface javax.management.DynamicMBean