public class AsyncAnnotatedMBean extends AnnotatedMBean
Modifier | Constructor and Description |
---|---|
protected |
AsyncAnnotatedMBean(Class<?> mbeanInterface) |
|
AsyncAnnotatedMBean(ExecutorService executor,
long timeout,
T impl,
Class<T> mbeanInterface) |
Modifier and Type | Method and Description |
---|---|
protected Object |
asyncInvole(String s,
Object[] objects,
String[] strings) |
Object |
invoke(String s,
Object[] objects,
String[] strings) |
static void |
registerMBean(ExecutorService executor,
long timeout,
ManagementContext context,
Object object,
ObjectName objectName) |
getDescription, getDescription, getParameterName, registerMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
public AsyncAnnotatedMBean(ExecutorService executor, long timeout, T impl, Class<T> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
protected AsyncAnnotatedMBean(Class<?> mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanException
protected Object asyncInvole(String s, Object[] objects, String[] strings) throws MBeanException, ReflectionException
MBeanException
ReflectionException
public static void registerMBean(ExecutorService executor, long timeout, ManagementContext context, Object object, ObjectName objectName) throws Exception
Exception
public Object invoke(String s, Object[] objects, String[] strings) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
invoke
in class AnnotatedMBean
MBeanException
ReflectionException
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.