| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ManagedBean | |
| private final MBeanServer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addManagedBean(final ManagedBean
The managed bean to be added bean)Overrides org. Add a new bean metadata to the set of beans known to this registry. |
| public ManagedBean | findManagedBean(final String
Name of the managed bean to be returned. Since 1.1, both
short names or the full name of the class can be used. name)Overrides org. Find and return the managed bean definition for the specified bean name,
if any; otherwise return |
| public ManagedBean | findManagedBean(final Object
The bean bean, final Class<?> The bean class beanClass, final String The registry type type)Overrides org. Find or load metadata. |
| public int | getId(final String
Namespace domain, final String Type of the notification name)Overrides org. Implements org. Return an int ID for faster access. |
| public MBeanServer | getMBeanServer()
Overrides org. Factory method to create (if necessary) and return our
|
| public MBeanOperationInfo | getMethodInfo(final ObjectName
The bean name oname, final String The operation name opName)Overrides org. Find the operation info for a method |
| public String | getType(final ObjectName
The bean name oname, final String The attribute name attName)Overrides org. Get the type of an attribute of the object, from the metadata. |
| public void | invoke(final List<ObjectName>
list of ObjectName on which we'll invoke the operations mbeans, final String Name of the operation ( init, start, stop, etc) operation, final boolean If false, exceptions will be ignored failFirst)Overrides org. Implements org. Invoke a operation on a list of mbeans. |
| public List | load(final String
The source type sourceType, final Object The bean source, final String A type to load param)Overrides org. Load descriptors. |
| public void | loadDescriptors(final String
The package name packageName, final ClassLoader The class loader classLoader)Overrides org. Lookup the component descriptor in the package and in the parent packages. |
| public void | registerComponent(final Object
Object to be registered bean, final String Name used for registration oname, final String The type of the mbean, as declared in mbeans-descriptors. If
null, the name of the class will be used. This can be used as
a hint or by subclasses. type)Overrides org. Implements org. Register a bean by creating a modeler mbean and adding it to the MBeanServer. |
| public void | registerComponent(final Object
The bean bean, final ObjectName The object name oname, final String The registry type type)Overrides org. Register a component |
| public void | unregisterComponent(final String
Name used for unregistration oname)Overrides org. Implements org. Unregister a component. |
| public void | unregisterComponent(final ObjectName
The bean name oname)Overrides org. Unregister a component. |