public final class ManagedObjectManagerFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ManagedObjectManager |
createFederated(javax.management.ObjectName rootParentName)
Alternative form of the create method to be used when the
rootName is not needed explicitly.
|
static ManagedObjectManager |
createNOOP()
Return a ManagedObjectManager that performs no operations.
|
static ManagedObjectManager |
createStandalone(java.lang.String domain)
Create a new ManagedObjectManager.
|
static java.lang.reflect.Method |
getMethod(java.lang.Class<?> cls,
java.lang.String name,
java.lang.Class<?>... types)
Convenience method for getting access to a method through reflection.
|
public static java.lang.reflect.Method getMethod(java.lang.Class<?> cls, java.lang.String name, java.lang.Class<?>... types)
cls
- The class to search for a method.name
- The method name.types
- The array of argument types.GmbalException
- if no such method is found.public static ManagedObjectManager createStandalone(java.lang.String domain)
domain
- The domain to use for all ObjectNames created when
MBeans are registered.public static ManagedObjectManager createFederated(javax.management.ObjectName rootParentName)
rootParentName
- The JMX ObjectName of the parent of the root.
The parent is outside of the control of this ManagedObjectManager.
The ManagedObjectManager root is a child of the MBean identified
by the rootParentName.public static ManagedObjectManager createNOOP()