Modifier and Type | Field and Description |
---|---|
private final Object | |
private MXBeanLookup | |
private ObjectName |
Access | Constructor and Description |
---|---|
public < a type parameter that allows the compiler to check
that T>resource implements mxbeanInterface ,
provided that mxbeanInterface is a class constant like
SomeMXBean.class . | MXBeanSupport(T
the underlying resource for the new MXBean. resource, Class<T> the interface to be used to determine
the MXBean's management interface. mxbeanInterface)Construct an MXBean that wraps the given resource using the given MXBean interface. |
Modifier and Type | Method and Description |
---|---|
pack-priv static <T> Class | |
pack-priv Object | getCookie()
Implements abstract com. |
pack-priv MBeanIntrospector | getMBeanIntrospector()
Implements abstract com. |
public void | register(MBeanServer server, ObjectName name)
Implements abstract com. |
private static Set | |
private static void | |
public void |
lock | back to summary |
---|---|
private final Object lock |
mxbeanLookup | back to summary |
---|---|
private MXBeanLookup mxbeanLookup |
objectName | back to summary |
---|---|
private ObjectName objectName |
MXBeanSupport | back to summary |
---|---|
public <T> MXBeanSupport(T resource, Class<T> mxbeanInterface) throws NotCompliantMBeanException Construct an MXBean that wraps the given resource using the given MXBean interface.
|
findMXBeanInterface | back to summary |
---|---|
pack-priv static <T> Class |
getCookie | back to summary |
---|---|
pack-priv Object getCookie() Implements abstract com. Doc from com. Return a cookie for this MBean. This cookie will be passed to MBean method invocations where it can supply additional information to the invocation. For example, with MXBeans it can be used to supply the MXBeanLookup context for resolving inter-MXBean references.
|
getMBeanIntrospector | back to summary |
---|---|
pack-priv MBeanIntrospector Implements abstract com. Doc from com. Return the appropriate introspector for this type of MBean.
|
register | back to summary |
---|---|
public void register(MBeanServer server, ObjectName name) throws InstanceAlreadyExistsException Implements abstract com.
|
transitiveInterfaces | back to summary |
---|---|
private static Set |
transitiveInterfaces | back to summary |
---|---|
private static void transitiveInterfaces(Class<?> c, Set<Class<?>> intfs) |
unregister | back to summary |
---|---|
public void unregister() Implements abstract com.
|