| |
|
| java.lang.Object org.jboss.mx.metadata.AbstractBuilder org.jboss.mx.metadata.StandardMetaData
StandardMetaData | public class StandardMetaData extends AbstractBuilder (Code) | | This metadata builder implementation builds a MBean info based on the
naming rules of the Standard MBeans. The MBean server uses this builder
to generate the metadata for Standard MBeans.
In cooperation with the
MBeanInfoConversion.toModelMBeanInfo MBeanInfoConversion class you
can use this builder as a migration tool from Standard to Model MBeans, or
for cases where you want the management interface be based on a compile-time
type safe interface. It is also possible to subclass this builder
implementation to extend it to support more sophisticated introspection rules
such as adding descriptors to management interface elements.
author: Juha Lindfors. author: Trevor Squires. author: Thomas Diesler. author: Dimitris Andreadis. |
StandardMetaData | public StandardMetaData(Object mbeanInstance) throws NotCompliantMBeanException(Code) | | Initializes the Standard metadata builder. The JMX metadata is based
on the class of the given resource instance.
Parameters: mbeanInstance - MBean instance |
StandardMetaData | public StandardMetaData(Class mbeanClass) throws NotCompliantMBeanException(Code) | | Initializes the Standard metadata builder. The JMX metadata is based
on the given class.
Parameters: mbeanClass - resource class that implements an interfaceadhering to the Standard MBean naming conventions |
StandardMetaData | public StandardMetaData(Object mbInstance, Class mbInterface) throws NotCompliantMBeanException(Code) | | Initializes the Standard metadata builder. The JMX metadata is based
on the passed mbean interface.
Parameters: mbInstance - MBean instance Parameters: mbInterface - the management interface |
findStandardInterface | public static Class findStandardInterface(Class mbeanClass)(Code) | | Locates an interface for a class that matches the Standard MBean naming
convention.
Parameters: mbeanClass - the class to investigate the Standard MBean interface class or null if not found |
getMBeanInterface | public Class getMBeanInterface()(Code) | | Retrieve the management interface
|
Fields inherited from org.jboss.mx.metadata.AbstractBuilder | protected Map properties(Code)(Java Doc)
|
|
|
|