public class ClassloaderSwitchingMBeanWrapper extends StandardMBean implements MBeanRegistration
Constructor and Description |
---|
ClassloaderSwitchingMBeanWrapper(T implementation,
Class<T> mbeanInterface,
ClassLoader executionClassLoader) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getExecutionClassLoader() |
Object |
invoke(String actionName,
Object[] params,
String[] signature) |
void |
postDeregister() |
void |
postRegister(Boolean registrationDone) |
void |
preDeregister() |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
void |
setExecutionClassLoader(ClassLoader executionClassLoader) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, setAttribute, setAttributes, setImplementation
protected Log logger
public ClassloaderSwitchingMBeanWrapper(T implementation, Class<T> mbeanInterface, ClassLoader executionClassLoader) throws NotCompliantMBeanException
NotCompliantMBeanException
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
invoke
in class StandardMBean
MBeanException
ReflectionException
public ClassLoader getExecutionClassLoader()
public void setExecutionClassLoader(ClassLoader executionClassLoader)
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
preRegister
in class StandardMBean
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
postRegister
in class StandardMBean
public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
preDeregister
in class StandardMBean
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
postDeregister
in class StandardMBean
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.