Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » mx » [javadoc | source]
org.apache.tomcat.util.mx
public class: DynamicMBeanProxy [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.mx.DynamicMBeanProxy

All Implemented Interfaces:
    DynamicMBean

Deprecated! The - same functionality ( and more ) is now available in commons-modeler

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.
Field Summary
 Object real     
 String name     
 Method[] methods     
 Hashtable attMap     
 Hashtable getAttMap     
 Hashtable setAttMap     
 Hashtable invokeAttMap     
static  MBeanServer mserver     
static  Hashtable instances     
static final  Object[] NO_ARGS_PARAM     
Constructor:
 public DynamicMBeanProxy() 
Method from org.apache.tomcat.util.mx.DynamicMBeanProxy Summary:
createMBean,   generateName,   getAttribute,   getAttributes,   getMBeanInfo,   getMBeanServer,   getName,   invoke,   registerMBean,   setAttribute,   setAttributes,   setName,   setReal,   unCapitalize,   unregisterMBean
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.mx.DynamicMBeanProxy Detail:
 public static String createMBean(Object proxy,
    String domain,
    String name) 
      Deprecated!
 public static String generateName(Class realClass) 
      Deprecated!
    If a name was not provided, generate a name based on the class name and a sequence number.
 public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException 
      Deprecated!
 public AttributeList getAttributes(String[] attributes) 
      Deprecated!
 public MBeanInfo getMBeanInfo() 
      Deprecated!
 public static MBeanServer getMBeanServer() 
      Deprecated!
 public String getName() 
      Deprecated!
 public Object invoke(String method,
    Object[] arguments,
    String[] params) throws MBeanException, ReflectionException 
      Deprecated!
    Invoke a method. Only no param methods are supported at the moment ( init, start, execute, etc ) ( that's the most common pattern we have in tomcat/ant/etc )
 public String registerMBean(String domain) 
      Deprecated!
 public  void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException 
      Deprecated!
 public AttributeList setAttributes(AttributeList attributes) 
      Deprecated!
 public  void setName(String name) 
      Deprecated!
 public  void setReal(Object realBean) 
      Deprecated!
    Set the managed object.
 public static String unCapitalize(String name) 
      Deprecated!
 public static  void unregisterMBean(Object o,
    String name) 
      Deprecated!