com.adventnet.adaptors.snmp
Class RequiredModelMBeanExt

java.lang.Object
  extended by javax.management.modelmbean.RequiredModelMBean
      extended by com.adventnet.adaptors.snmp.RequiredModelMBeanExt
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.PersistentMBean

public class RequiredModelMBeanExt
extends javax.management.modelmbean.RequiredModelMBean


Constructor Summary
RequiredModelMBeanExt()
          Constructs an RequiredModelMBeanExt with an empty ModelMBeanInfo.
RequiredModelMBeanExt(javax.management.modelmbean.ModelMBeanInfo mbi)
          Constructs a RequiredModelMBeanExt object using ModelMBeanInfo passed in.
 
Method Summary
 java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature)
           
 
Methods inherited from class javax.management.modelmbean.RequiredModelMBean
addAttributeChangeNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassLoaderRepository, getMBeanInfo, getNotificationInfo, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModelMBeanInfo, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredModelMBeanExt

public RequiredModelMBeanExt()
                      throws javax.management.MBeanException,
                             javax.management.RuntimeOperationsException
Constructs an RequiredModelMBeanExt with an empty ModelMBeanInfo. After the RequiredModelMBeanExt's MBeanInfo and Descriptors are customized, the RequiredModelMBeanExt should be registered with the MBeanServer.

Throws:
javax.management.MBeanException - The constructor of the object has thrown an exception.
javax.management.RuntimeOperationsException - - Wraps an IllegalArgumentException

RequiredModelMBeanExt

public RequiredModelMBeanExt(javax.management.modelmbean.ModelMBeanInfo mbi)
                      throws javax.management.MBeanException,
                             javax.management.RuntimeOperationsException
Constructs a RequiredModelMBeanExt object using ModelMBeanInfo passed in. The RequiredModelMBeanExt must be instantiated, but not registered with the MBeanServer. After the RequiredModelMBeanExt's MBeanInfo and Descriptors are customized, the RequiredModelMBeanExt should be registered with the MBeanServer.

Parameters:
mbi - The ModelMBeanInfo object to be used by the RequiredModelMBeanExt.
Throws:
javax.management.MBeanException - The constructor of the object has thrown an exception.
javax.management.RuntimeOperationsException - Wraps an IllegalArgumentException : The MBeanInfo passed in parameter is null or invalid.
Method Detail

invoke

public java.lang.Object invoke(java.lang.String actionName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Specified by:
invoke in interface javax.management.DynamicMBean
Overrides:
invoke in class javax.management.modelmbean.RequiredModelMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException