Class IgniteStandardMXBean
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.ignite.internal.mxbean.IgniteStandardMXBean
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration
public class IgniteStandardMXBean extends StandardMBean
Extension of standard Java MBean. Overrides some hooks to return annotation based descriptions.
-
-
Constructor Summary
Constructors Constructor Description IgniteStandardMXBean(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 seq)protected StringgetParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int seq)-
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
-
IgniteStandardMXBean
public IgniteStandardMXBean(T implementation, Class<T> mbeanInterface) throws NotCompliantMBeanExceptionMake a DynamicMBean out of the object implementation, using the specified mbeanInterface class.- Parameters:
implementation- The implementation of this MBean.mbeanInterface- The Management Interface exported by this MBean's implementation. Ifnull, then this object will use standard JMX design pattern to determine the management interface associated with the given implementation. Ifnullvalue passed then information will be built byStandardMBean- Throws:
NotCompliantMBeanException- if thembeanInterfacedoes not follow JMX design patterns for Management Interfaces, or if the givenimplementationdoes not implement the specified interface.
-
-
Method Detail
-
getDescription
protected String getDescription(MBeanAttributeInfo info)
- Overrides:
getDescriptionin classStandardMBean
-
getDescription
protected String getDescription(MBeanInfo info)
- Overrides:
getDescriptionin classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo info)
- Overrides:
getDescriptionin classStandardMBean
-
getDescription
protected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int seq)
- Overrides:
getDescriptionin classStandardMBean
-
getParameterName
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int seq)
- Overrides:
getParameterNamein classStandardMBean
-
-