|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.mosgi.jmx.agent.mx4j.server.ReflectedMBeanInvoker
public class ReflectedMBeanInvoker
MBeanInvoker that uses reflection to invoke on MBean instances.
Constructor Summary | |
---|---|
ReflectedMBeanInvoker()
|
Method Summary | |
---|---|
Object |
getAttribute(MBeanMetaData metadata,
String attribute)
Returns the value of the specified attribute. |
Object |
invoke(MBeanMetaData metadata,
String method,
String[] params,
Object[] args)
Invokes the specified operation on the MBean instance |
protected Object |
invokeImpl(MBeanMetaData metadata,
String method,
String[] signature,
Object[] args)
|
void |
setAttribute(MBeanMetaData metadata,
Attribute attribute)
Sets the value of the specified attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectedMBeanInvoker()
Method Detail |
---|
public Object invoke(MBeanMetaData metadata, String method, String[] params, Object[] args) throws MBeanException, ReflectionException
MBeanInvoker
invoke
in interface MBeanInvoker
MBeanException
ReflectionException
public Object getAttribute(MBeanMetaData metadata, String attribute) throws MBeanException, AttributeNotFoundException, ReflectionException
MBeanInvoker
getAttribute
in interface MBeanInvoker
MBeanException
AttributeNotFoundException
ReflectionException
public void setAttribute(MBeanMetaData metadata, Attribute attribute) throws MBeanException, AttributeNotFoundException, InvalidAttributeValueException, ReflectionException
MBeanInvoker
setAttribute
in interface MBeanInvoker
MBeanException
AttributeNotFoundException
InvalidAttributeValueException
ReflectionException
protected Object invokeImpl(MBeanMetaData metadata, String method, String[] signature, Object[] args) throws ReflectionException, MBeanException, IllegalArgumentException
ReflectionException
MBeanException
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |