|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomcat.util.mx.DynamicMBeanProxy
public class DynamicMBeanProxy
DynamicMBean implementation using introspection to manage any component that follows the bean/ant/Interceptor/Valve/Jk2 patterns. The class will wrap any component conforming to those patterns.
| Constructor Summary | |
|---|---|
DynamicMBeanProxy()
Deprecated. Create a Dynamic proxy, using introspection to manage a real tomcat component. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicMBeanProxy()
| Method Detail |
|---|
public void setName(String name)
public String getName()
public static String generateName(Class realClass)
public static String createMBean(Object proxy,
String domain,
String name)
public String registerMBean(String domain)
public static void unregisterMBean(Object o,
String name)
public static MBeanServer getMBeanServer()
public void setReal(Object realBean)
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBean
public Object getAttribute(String attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundException
MBeanException
ReflectionException
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public Object invoke(String method,
Object[] arguments,
String[] params)
throws MBeanException,
ReflectionException
invoke in interface DynamicMBeanMBeanException
ReflectionExceptionpublic AttributeList setAttributes(AttributeList attributes)
setAttributes in interface DynamicMBeanpublic AttributeList getAttributes(String[] attributes)
getAttributes in interface DynamicMBeanpublic static String unCapitalize(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||