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 ofStandardMBeanthat will automatically provide JMX metadata through annotations.- See Also:
MBeanInfo,Description,Name,Impact
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotatedStandardMBean(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 StringgetDescription(MBeanAttributeInfo info)protected StringgetDescription(MBeanInfo info)protected StringgetDescription(MBeanOperationInfo info)protected StringgetDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)protected intgetImpact(MBeanOperationInfo info)protected StringgetParameterName(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:
getDescriptionin classStandardMBean
-
getDescription
protected String getDescription(MBeanAttributeInfo info)
- Overrides:
getDescriptionin classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo info)
- Overrides:
getDescriptionin classStandardMBean
-
getImpact
protected int getImpact(MBeanOperationInfo info)
- Overrides:
getImpactin classStandardMBean
-
getParameterName
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
- Overrides:
getParameterNamein classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
- Overrides:
getDescriptionin classStandardMBean
-
-