org.apache.felix.mosgi.jmx.agent.mx4j.server
Class MBeanIntrospector
java.lang.Object
org.apache.felix.mosgi.jmx.agent.mx4j.server.MBeanIntrospector
public class MBeanIntrospector
- extends Object
Introspector for MBeans.
Main purposes of this class are:
The following system properties are used to control this class' behavior:
- mx4j.strict.mbean.interface, if set to 'no' then are treated as standard MBeans also classes that implement
management interfaces beloging to different packages or that are inner classes; otherwise are treated as MBeans
only classes that implement interfaces whose name if the fully qualified name of the MBean class + "MBean"
- mx4j.mbean.invoker, if set to the qualified name of an implementation of the
MBeanInvoker
interface,
then an instance of the class will be used to invoke methods on standard MBeans. By default the generated-on-the-fly
MBeanInvoker is used; to revert to the version that uses reflection, for example,
use mx4j.mbean.invoker = mx4j.server.ReflectedMBeanInvoker
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Simone Bordet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanIntrospector
public MBeanIntrospector()
introspect
public void introspect(MBeanMetaData metadata)
- Introspect the given mbean, storing the results in the given metadata.
It expects that the mbean field and the classloader field are not null
- See Also:
isMBeanCompliant(org.apache.felix.mosgi.jmx.agent.mx4j.server.MBeanMetaData)
isMBeanCompliant
public boolean isMBeanCompliant(MBeanMetaData metadata)
- Returns whether the given already introspected metadata is compliant.
Must be called after
introspect(org.apache.felix.mosgi.jmx.agent.mx4j.server.MBeanMetaData)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.