API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. StandardMBean View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      StandardMBean
Implements
 DynamicMBean
 MBeanRegistration
Subclasses
Description
public class StandardMBean
  An MBean whose management interface is determined by reflection on a Java interface.
See also:   
Constructors
protected StandardMBean (Class<Object> mbeanInterface) throws NotCompliantMBeanException
  Make a DynamicMBean out of this, using the specified mbeanInterface class.
protected StandardMBean (Class<Object> mbeanInterface, boolean isMXBean)
  Make a DynamicMBean out of this, using the specified mbeanInterface class.
public StandardMBean ( T implementation, Class< T> mbeanInterface) throws NotCompliantMBeanException
  Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class.
public StandardMBean ( T implementation, Class< T> mbeanInterface, boolean isMXBean)
  Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class.
Methods
Hide/Show inherited methods
protected void cacheMBeanInfo (MBeanInfo info)
  Customization hook: cache the MBeanInfo built for this object.
public Object getAttribute (String attribute) throws AttributeNotFoundException MBeanException ReflectionException [Specified in DynamicMBean]
public AttributeList getAttributes (String attributes) [Specified in DynamicMBean]
protected MBeanInfo getCachedMBeanInfo ()
  Customization hook: Return the MBeanInfo cached for this object.
protected String getClassName (MBeanInfo info)
  Customization hook: Get the className that will be used in the MBeanInfo returned by this MBean.
protected MBeanConstructorInfo getConstructors (MBeanConstructorInfo ctors, Object impl)
  Customization hook: Get the MBeanConstructorInfo[] that will be used in the MBeanInfo returned by this MBean.
protected String getDescription (MBeanAttributeInfo info)
  Customization hook: Get the description that will be used in the MBeanAttributeInfo returned by this MBean.
protected String getDescription (MBeanConstructorInfo info)
  Customization hook: Get the description that will be used in the MBeanConstructorInfo returned by this MBean.
protected String getDescription (MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence)
  Customization hook: Get the description that will be used for the sequence MBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.
protected String getDescription (MBeanFeatureInfo info)
  Customization hook: Get the description that will be used in the MBeanFeatureInfo returned by this MBean.
protected String getDescription (MBeanInfo info)
  Customization hook: Get the description that will be used in the MBeanInfo returned by this MBean.
protected String getDescription (MBeanOperationInfo info)
  Customization hook: Get the description that will be used in the MBeanOperationInfo returned by this MBean.
protected String getDescription (MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
  Customization hook: Get the description that will be used for the sequence MBeanParameterInfo of the MBeanOperationInfo returned by this MBean.
pack-private Descriptor getDescriptor (MBeanInfo info, boolean immutableInfo)
  Get the Descriptor that will be used in the MBeanInfo returned by this MBean.
protected int getImpact (MBeanOperationInfo info)
  Customization hook: Get the impact flag of the operation that will be used in the MBeanOperationInfo returned by this MBean.
public Object getImplementation ()
  Get the implementation of this Standard MBean (or MXBean).
public Class<Object> getImplementationClass ()
  Get the class of the implementation of this Standard MBean (or MXBean).
public MBeanInfo getMBeanInfo () [Specified in DynamicMBean]
  Get the MBeanInfo for this MBean.
publicfinal Class<Object> getMBeanInterface ()
  Get the Management Interface of this Standard MBean (or MXBean).
pack-private MBeanNotificationInfo getNotifications (MBeanInfo info)
  Customization hook: Get the MBeanNotificationInfo[] that will be used in the MBeanInfo returned by this MBean.
protected String getParameterName (MBeanConstructorInfo ctor, MBeanParameterInfo param, int sequence)
  Customization hook: Get the name that will be used for the sequence MBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.
protected String getParameterName (MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
  Customization hook: Get the name that will be used for the sequence MBeanParameterInfo of the MBeanOperationInfo returned by this MBean.
pack-privatestatic boolean immutableInfo (Class<StandardMBean> subclass)
  Return true if subclass is known to preserve the immutability of the MBeanInfo.
public Object invoke (String actionName, Object params, String signature) throws MBeanException ReflectionException [Specified in DynamicMBean]
pack-privatestatic boolean overrides (Class<Object> subclass, Class<Object> superclass, String name, Class<Object> params)
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 setAttribute (Attribute attribute) throws AttributeNotFoundException InvalidAttributeValueException MBeanException ReflectionException [Specified in DynamicMBean]
public AttributeList setAttributes (AttributeList attributes) [Specified in DynamicMBean]
public void setImplementation (Object implementation) throws NotCompliantMBeanException
  Replace the implementation object wrapped in this object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar