API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.modelmbean. RequiredModelMBean View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      RequiredModelMBean
Implements
 ModelMBean
 MBeanRegistration
 NotificationEmitter
Subclasses
Description
public class RequiredModelMBean
  This class is the implementation of a ModelMBean.
See also:   
Constructors
public RequiredModelMBean () throws MBeanException RuntimeOperationsException
  Constructs an RequiredModelMBean with an empty ModelMBeanInfo.
public RequiredModelMBean (ModelMBeanInfo mbi) throws MBeanException RuntimeOperationsException
  Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.
Methods
Hide/Show inherited methods
public void addAttributeChangeNotificationListener (NotificationListener inlistener, String inAttributeName, Object inhandback) throws MBeanException RuntimeOperationsException IllegalArgumentException
public void addNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
  Registers an object which implements the NotificationListener interface as a listener.
public Object getAttribute (String attrName) throws AttributeNotFoundException MBeanException ReflectionException
  Returns the value of a specific attribute defined for this ModelMBean.
public AttributeList getAttributes (String attrNames)
  Returns the values of several attributes in the ModelMBean.
protected ClassLoaderRepository getClassLoaderRepository ()
  Return the Class Loader Repository used to perform class loading.
public MBeanInfo getMBeanInfo ()
  Returns the attributes, operations, constructors and notifications that this RequiredModelMBean exposes for management.
public MBeanNotificationInfo getNotificationInfo ()
  Returns the array of Notifications always generated by the RequiredModelMBean.
public Object invoke (String opName, Object opArgs, String sig) throws MBeanException ReflectionException
  Invokes a method on or through a RequiredModelMBean and returns the result of the method execution.
public void load () throws MBeanException RuntimeOperationsException InstanceNotFoundException
  Instantiates this MBean instance with the data found for the MBean in the persistent store.
public void postDeregister () [Specified in MBeanRegistration]
  Allows the MBean to perform any operations needed after having been unregistered in the MBean server.
public void postRegister (Boolean registrationDone) [Specified in MBeanRegistration]
  Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed.
public void preDeregister () throws Exception [Specified in MBeanRegistration]
  Allows the MBean to perform any operations it needs before being unregistered by the MBean server.
public ObjectName preRegister (MBeanServer server, ObjectName name) throws Exception [Specified in MBeanRegistration]
  Allows the MBean to perform any operations it needs before being registered in the MBean server.
public void removeAttributeChangeNotificationListener (NotificationListener inlistener, String inAttributeName) throws MBeanException RuntimeOperationsException ListenerNotFoundException
public void removeNotificationListener (NotificationListener listener) throws ListenerNotFoundException
  Removes a listener for Notifications from the RequiredModelMBean.
public void removeNotificationListener (NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException [Specified in NotificationEmitter]
public void sendAttributeChangeNotification (Attribute inOldVal, Attribute inNewVal) throws MBeanException RuntimeOperationsException
public void sendAttributeChangeNotification (AttributeChangeNotification ntfyObj) throws MBeanException RuntimeOperationsException
public void sendNotification (Notification ntfyObj) throws MBeanException RuntimeOperationsException
public void sendNotification (String ntfyText) throws MBeanException RuntimeOperationsException
public void setAttribute (Attribute attribute) throws AttributeNotFoundException InvalidAttributeValueException MBeanException ReflectionException
  Sets the value of a specific attribute of a named ModelMBean.
public AttributeList setAttributes (AttributeList attributes)
  Sets the values of an array of attributes of this ModelMBean.
public void setManagedResource (Object mr, String mr_type) throws MBeanException RuntimeOperationsException InstanceNotFoundException InvalidTargetObjectTypeException [Specified in ModelMBean]
  Sets the instance handle of the object against which to execute all methods in this ModelMBean management interface (MBeanInfo and Descriptors).
public void setModelMBeanInfo (ModelMBeanInfo mbi) throws MBeanException RuntimeOperationsException [Specified in ModelMBean]
  Initializes a ModelMBean object using ModelMBeanInfo passed in.
public void store () throws MBeanException RuntimeOperationsException InstanceNotFoundException
  Captures the current state of this MBean instance and writes it out to the persistent store.
Fields
Hide/Show inherited fields
pack-private ModelMBeanInfo modelMBeanInfo
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar