Class AnnotatedStandardMBean
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
-
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
- Direct Known Subclasses:
AbstractCacheStats
,BlobGC
,BlobMigration
,BlobStoreStats
,IndexerMBeanImpl
,PersistentCacheStats
,QueryStatsMBeanImpl
,RepositoryManager
,RepositoryStats
,SegmentRevisionGCMBean
public class AnnotatedStandardMBean extends StandardMBean
The extension ofStandardMBean
that will automatically provide JMX metadata through annotations.- See Also:
MBeanInfo
,Description
,Name
,Impact
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnnotatedStandardMBean(Class<?> mbeanInterface)
AnnotatedStandardMBean(T implementation, Class<T> mbeanInterface)
Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDescription(MBeanAttributeInfo info)
protected String
getDescription(MBeanInfo info)
protected String
getDescription(MBeanOperationInfo info)
protected String
getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
protected int
getImpact(MBeanOperationInfo info)
protected String
getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
AnnotatedStandardMBean
public AnnotatedStandardMBean(T implementation, Class<T> mbeanInterface)
Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class.- See Also:
StandardMBean(Object, Class)
-
AnnotatedStandardMBean
protected AnnotatedStandardMBean(Class<?> mbeanInterface)
-
-
Method Detail
-
getDescription
protected String getDescription(MBeanInfo info)
- Overrides:
getDescription
in classStandardMBean
-
getDescription
protected String getDescription(MBeanAttributeInfo info)
- Overrides:
getDescription
in classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo info)
- Overrides:
getDescription
in classStandardMBean
-
getImpact
protected int getImpact(MBeanOperationInfo info)
- Overrides:
getImpact
in classStandardMBean
-
getParameterName
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
- Overrides:
getParameterName
in classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
- Overrides:
getDescription
in classStandardMBean
-
-