public class DynamicMBeanProxy extends Object implements DynamicMBean
| Constructor and Description |
|---|
DynamicMBeanProxy()
Deprecated.
Create a Dynamic proxy, using introspection to manage a
real tomcat component.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
createMBean(Object proxy,
String domain,
String name)
Deprecated.
|
static String |
generateName(Class realClass)
Deprecated.
If a name was not provided, generate a name based on the
class name and a sequence number.
|
Object |
getAttribute(String attribute)
Deprecated.
|
AttributeList |
getAttributes(String[] attributes)
Deprecated.
|
MBeanInfo |
getMBeanInfo()
Deprecated.
|
static MBeanServer |
getMBeanServer()
Deprecated.
|
String |
getName()
Deprecated.
|
Object |
invoke(String method,
Object[] arguments,
String[] params)
Deprecated.
Invoke a method.
|
String |
registerMBean(String domain)
Deprecated.
|
void |
setAttribute(Attribute attribute)
Deprecated.
|
AttributeList |
setAttributes(AttributeList attributes)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setReal(Object realBean)
Deprecated.
Set the managed object.
|
static String |
unCapitalize(String name)
Deprecated.
|
static void |
unregisterMBean(Object o,
String name)
Deprecated.
|
public DynamicMBeanProxy()
public void setName(String name)
public String getName()
public static String generateName(Class realClass)
public static MBeanServer getMBeanServer()
public void setReal(Object realBean)
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic Object invoke(String method, Object[] arguments, String[] params) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanpublic AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanCopyright © 2005–2017 Oracle Corporation. All rights reserved.