Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.mx » capability » [javadoc | source]
org.jboss.mx.capability
public class: ReflectedMBeanDispatcher [javadoc | source]
java.lang.Object
   org.jboss.mx.capability.ReflectedMBeanDispatcher

All Implemented Interfaces:
    DynamicMBean

Directs DynamicMBean calls to underlying resource via reflection. It's suitable for use as a StandardMBean or as the resource for a ModelMBean.
Nested Class Summary:
public static class  ReflectedMBeanDispatcher.MethodPair   
Constructor:
 public ReflectedMBeanDispatcher(MBeanInfo mbinfo,
    AttributeOperationResolver resolver,
    Object resource) 
Method from org.jboss.mx.capability.ReflectedMBeanDispatcher Summary:
bindAttributeAt,   bindOperationAt,   getAttribute,   getAttributes,   getMBeanInfo,   getNotificationInfo,   getResourceClassName,   getResourceObject,   invoke,   opKeyString,   setAttribute,   setAttributes
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mx.capability.ReflectedMBeanDispatcher Detail:
 public  void bindAttributeAt(int position,
    Method getter,
    Method setter) 
 public  void bindOperationAt(int position,
    Method method) 
 public Object getAttribute(String attribute) throws ReflectionException, AttributeNotFoundException, MBeanException 
 public AttributeList getAttributes(String[] attributes) 
 public MBeanInfo getMBeanInfo() 
 protected MBeanNotificationInfo[] getNotificationInfo() 
 public String getResourceClassName() 
 protected Object getResourceObject() 
 public Object invoke(String actionName,
    Object[] params,
    String[] signature) throws ReflectionException, MBeanException 
 protected final String opKeyString(String name,
    String[] signature) 
 public  void setAttribute(Attribute attribute) throws InvalidAttributeValueException, ReflectionException, AttributeNotFoundException, MBeanException 
 public AttributeList setAttributes(AttributeList attributes)