org.xsocket
Class IntrospectionBasedDynamicMBean

Package class diagram package IntrospectionBasedDynamicMBean
java.lang.Object
  extended by org.xsocket.IntrospectionBasedDynamicMBean
All Implemented Interfaces:
DynamicMBean

public final class IntrospectionBasedDynamicMBean
extends Object
implements DynamicMBean

Introspection based dynamic mbean, which exposes the getter and setter methods (default, protected and public visibility) of the underlying object by using introspection


This is a xSocket internal class and subject to change

Author:
grro@xsocket.org

Constructor Summary
IntrospectionBasedDynamicMBean(Object obj)
          constructor
 
Method Summary
 Object getAttribute(String attribute)
           
 AttributeList getAttributes(String[] attributes)
          
 MBeanInfo getMBeanInfo()
          
 Object invoke(String actionName, Object[] params, String[] signature)
          
 void setAttribute(Attribute attribute)
          
 AttributeList setAttributes(AttributeList attributes)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntrospectionBasedDynamicMBean

public IntrospectionBasedDynamicMBean(Object obj)
constructor

Parameters:
obj - the object to create a mbean for
Method Detail

getAttribute

public Object getAttribute(String attribute)
Specified by:
getAttribute in interface DynamicMBean
See Also:
DynamicMBean.getAttribute(java.lang.String)

getAttributes

public AttributeList getAttributes(String[] attributes)

Specified by:
getAttributes in interface DynamicMBean

setAttribute

public void setAttribute(Attribute attribute)

Specified by:
setAttribute in interface DynamicMBean

setAttributes

public AttributeList setAttributes(AttributeList attributes)

Specified by:
setAttributes in interface DynamicMBean

invoke

public Object invoke(String actionName,
                     Object[] params,
                     String[] signature)
              throws MBeanException,
                     ReflectionException

Specified by:
invoke in interface DynamicMBean
Throws:
MBeanException
ReflectionException

getMBeanInfo

public MBeanInfo getMBeanInfo()

Specified by:
getMBeanInfo in interface DynamicMBean


Copyright 2010 xSocket.org