Package lumis.portal.jmx
Class AnnotatedStandardMBean<B>
- java.lang.Object
-
- javax.management.StandardMBean
-
- lumis.portal.jmx.AnnotatedStandardMBean<B>
-
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
public class AnnotatedStandardMBean<B> extends StandardMBean
MBean that supports theDescription
annotation.- Since:
- 12.2.0
- Version:
- $Revision: 23534 $ $Date: 2020-01-14 13:16:30 -0300 (Tue, 14 Jan 2020) $
-
-
Constructor Summary
Constructors Constructor Description AnnotatedStandardMBean(B implementation, Class<B> mbeanInterface)
Creates a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDescription(MBeanAttributeInfo info)
protected String
getDescription(MBeanInfo beanInfo)
protected String
getDescription(MBeanOperationInfo op)
protected String
getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
protected String
getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
AnnotatedStandardMBean
public AnnotatedStandardMBean(B implementation, Class<B> mbeanInterface) throws NotCompliantMBeanException
Creates a new instance- Parameters:
implementation
- the mbean implementationmbeanInterface
- the mbean interface- Throws:
NotCompliantMBeanException
- Since:
- 12.2.0
-
-
Method Detail
-
getDescription
protected String getDescription(MBeanInfo beanInfo)
- Overrides:
getDescription
in classStandardMBean
-
getDescription
protected String getDescription(MBeanAttributeInfo info)
- Overrides:
getDescription
in classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo op)
- Overrides:
getDescription
in classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
- Overrides:
getDescription
in classStandardMBean
-
getParameterName
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int paramNo)
- Overrides:
getParameterName
in classStandardMBean
-
-