fr.dyade.aaa.util.management
Interface MXServer

All Known Implementing Classes:
JMXServer

public interface MXServer


Method Summary
 void addNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
          Adds a listener to a registered MBean.
 java.lang.Object getAttribute(javax.management.ObjectName objectName, java.lang.String attribute)
           
 javax.management.MBeanAttributeInfo[] getAttributes(javax.management.ObjectName objectName)
           
 java.lang.Object getMBeanInstance(javax.management.ObjectName objName)
           
 java.util.Set queryNames(javax.management.ObjectName objectName)
           
 java.lang.String registerMBean(java.lang.Object bean, java.lang.String name)
           
 void removeNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener)
          Removes a listener from a registered MBean.
 void removeNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
          Removes a listener from a registered MBean.
 void setAttribute(javax.management.ObjectName name, javax.management.Attribute attribute)
           
 javax.management.AttributeList setAttributes(javax.management.ObjectName name, javax.management.AttributeList attributes)
           
 void unregisterMBean(java.lang.String name)
           
 

Method Detail

registerMBean

java.lang.String registerMBean(java.lang.Object bean,
                               java.lang.String name)
                               throws java.lang.Exception
Throws:
java.lang.Exception

unregisterMBean

void unregisterMBean(java.lang.String name)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getMBeanInstance

java.lang.Object getMBeanInstance(javax.management.ObjectName objName)

getAttribute

java.lang.Object getAttribute(javax.management.ObjectName objectName,
                              java.lang.String attribute)
                              throws java.lang.Exception
Throws:
java.lang.Exception

setAttribute

void setAttribute(javax.management.ObjectName name,
                  javax.management.Attribute attribute)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getAttributes

javax.management.MBeanAttributeInfo[] getAttributes(javax.management.ObjectName objectName)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setAttributes

javax.management.AttributeList setAttributes(javax.management.ObjectName name,
                                             javax.management.AttributeList attributes)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

queryNames

java.util.Set queryNames(javax.management.ObjectName objectName)

addNotificationListener

void addNotificationListener(javax.management.ObjectName name,
                             javax.management.NotificationListener listener,
                             javax.management.NotificationFilter filter,
                             java.lang.Object handback)
                             throws java.lang.Exception
Adds a listener to a registered MBean.

Throws:
java.lang.Exception

removeNotificationListener

void removeNotificationListener(javax.management.ObjectName name,
                                javax.management.NotificationListener listener)
                                throws java.lang.Exception
Removes a listener from a registered MBean.

Throws:
java.lang.Exception

removeNotificationListener

void removeNotificationListener(javax.management.ObjectName name,
                                javax.management.NotificationListener listener,
                                javax.management.NotificationFilter filter,
                                java.lang.Object handback)
                                throws java.lang.Exception
Removes a listener from a registered MBean.

Throws:
java.lang.Exception


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.