Class EndpointMBean
java.lang.Object
org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
- All Implemented Interfaces:
DynamicMBean
Adapter to expose a
JMX endpoint as a
DynamicMBean.- Since:
- 2.0.0
- Author:
- Stephane Nicoll, Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attribute) getAttributes(String[] attributes) voidsetAttribute(Attribute attribute) setAttributes(AttributeList attributes)
-
Method Details
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
getAttributes
- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributesin interfaceDynamicMBean
-