Class EndpointMBeanFactory
java.lang.Object
io.micronaut.configuration.jmx.context.AbstractDynamicMBeanFactory
io.micronaut.configuration.jmx.endpoint.EndpointMBeanFactory
- All Implemented Interfaces:
DynamicMBeanFactory
A dynamic mbean factory for endpoints.
- Since:
- 1.0
- Author:
- James Kleeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetBeanDescription(io.micronaut.inject.BeanDefinition beanDefinition) Returns the management bean description.protected intgetImpact(io.micronaut.inject.ExecutableMethod method) Returns the impact of the provided method.protected StringgetMethodDescription(io.micronaut.inject.ExecutableMethod method) Returns the description of a management bean operation.protected StringgetParameterDescription(io.micronaut.core.type.Argument argument) Returns the description of a management bean operation parameter.Methods inherited from class AbstractDynamicMBeanFactory
createMBean, getOperationInfo, getParameters, getReturnTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DynamicMBeanFactory
createMBean
-
Constructor Details
-
EndpointMBeanFactory
public EndpointMBeanFactory()
-
-
Method Details
-
getBeanDescription
Description copied from class:AbstractDynamicMBeanFactoryReturns the management bean description.- Specified by:
getBeanDescriptionin classAbstractDynamicMBeanFactory- Parameters:
beanDefinition- The bean definition- Returns:
- The description for the management bean
- See Also:
-
getMethodDescription
Description copied from class:AbstractDynamicMBeanFactoryReturns the description of a management bean operation.- Specified by:
getMethodDescriptionin classAbstractDynamicMBeanFactory- Parameters:
method- The method- Returns:
- The description for the management bean operation
- See Also:
-
getParameterDescription
Description copied from class:AbstractDynamicMBeanFactoryReturns the description of a management bean operation parameter.- Specified by:
getParameterDescriptionin classAbstractDynamicMBeanFactory- Parameters:
argument- The argument- Returns:
- The description for the management bean operation parameter
- See Also:
-
getImpact
protected int getImpact(io.micronaut.inject.ExecutableMethod method) Description copied from class:AbstractDynamicMBeanFactoryReturns the impact of the provided method.- Specified by:
getImpactin classAbstractDynamicMBeanFactory- Parameters:
method- The method- Returns:
- The impact
- See Also:
-