Class AnnotatedStandardMBean
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean
,javax.management.MBeanRegistration
- Direct Known Subclasses:
AbstractCacheStats
,BlobGC
,BlobMigration
,BlobStoreStats
,IndexerMBeanImpl
,PersistentCacheStats
,QueryStatsMBeanImpl
,RepositoryManager
,RepositoryStats
,SegmentRevisionGCMBean
public class AnnotatedStandardMBean extends javax.management.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(java.lang.Class<?> mbeanInterface)
AnnotatedStandardMBean(T implementation, java.lang.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 java.lang.String
getDescription(javax.management.MBeanAttributeInfo info)
protected java.lang.String
getDescription(javax.management.MBeanInfo info)
protected java.lang.String
getDescription(javax.management.MBeanOperationInfo info)
protected java.lang.String
getDescription(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int sequence)
protected int
getImpact(javax.management.MBeanOperationInfo info)
protected java.lang.String
getParameterName(javax.management.MBeanOperationInfo op, javax.management.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, java.lang.Class<T> mbeanInterface)
Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class.- See Also:
StandardMBean(Object, Class)
-
AnnotatedStandardMBean
protected AnnotatedStandardMBean(java.lang.Class<?> mbeanInterface)
-
-
Method Detail
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanInfo info)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanAttributeInfo info)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanOperationInfo info)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
getImpact
protected int getImpact(javax.management.MBeanOperationInfo info)
- Overrides:
getImpact
in classjavax.management.StandardMBean
-
getParameterName
protected java.lang.String getParameterName(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int sequence)
- Overrides:
getParameterName
in classjavax.management.StandardMBean
-
getDescription
protected java.lang.String getDescription(javax.management.MBeanOperationInfo op, javax.management.MBeanParameterInfo param, int sequence)
- Overrides:
getDescription
in classjavax.management.StandardMBean
-
-