|
||||||||||
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,
javax.management.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 javax.management.MBeanException, javax.management.ReflectionException
MBeanInvoker
invoke
in interface MBeanInvoker
javax.management.MBeanException
javax.management.ReflectionException
public Object getAttribute(MBeanMetaData metadata, String attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.ReflectionException
MBeanInvoker
getAttribute
in interface MBeanInvoker
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.ReflectionException
public void setAttribute(MBeanMetaData metadata, javax.management.Attribute attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.ReflectionException
MBeanInvoker
setAttribute
in interface MBeanInvoker
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.ReflectionException
protected Object invokeImpl(MBeanMetaData metadata, String method, String[] signature, Object[] args) throws javax.management.ReflectionException, javax.management.MBeanException, IllegalArgumentException
javax.management.ReflectionException
javax.management.MBeanException
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |