|
||||||||||
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 | |
---|---|
java.lang.Object |
getAttribute(MBeanMetaData metadata,
java.lang.String attribute)
Returns the value of the specified attribute. |
java.lang.Object |
invoke(MBeanMetaData metadata,
java.lang.String method,
java.lang.String[] params,
java.lang.Object[] args)
Invokes the specified operation on the MBean instance |
protected java.lang.Object |
invokeImpl(MBeanMetaData metadata,
java.lang.String method,
java.lang.String[] signature,
java.lang.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 java.lang.Object invoke(MBeanMetaData metadata, java.lang.String method, java.lang.String[] params, java.lang.Object[] args) throws javax.management.MBeanException, javax.management.ReflectionException
MBeanInvoker
invoke
in interface MBeanInvoker
javax.management.MBeanException
javax.management.ReflectionException
public java.lang.Object getAttribute(MBeanMetaData metadata, java.lang.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 java.lang.Object invokeImpl(MBeanMetaData metadata, java.lang.String method, java.lang.String[] signature, java.lang.Object[] args) throws javax.management.ReflectionException, javax.management.MBeanException, java.lang.IllegalArgumentException
javax.management.ReflectionException
javax.management.MBeanException
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |