类 EndpointMBean
- java.lang.Object
- org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
- 所有已实现的接口:
DynamicMBean
public class EndpointMBean extends Object implements DynamicMBean
Adapter to expose aJMX endpoint
as aDynamicMBean
.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object
getAttribute(String attribute)
AttributeList
getAttributes(String[] attributes)
MBeanInfo
getMBeanInfo()
Object
invoke(String actionName, Object[] params, String[] signature)
void
setAttribute(Attribute attribute)
AttributeList
setAttributes(AttributeList attributes)
方法详细资料
getMBeanInfo
public MBeanInfo getMBeanInfo()
- 指定者:
getMBeanInfo
在接口中DynamicMBean
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
- 指定者:
invoke
在接口中DynamicMBean
- 抛出:
MBeanException
ReflectionException
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
getAttributes
public AttributeList getAttributes(String[] attributes)
- 指定者:
getAttributes
在接口中DynamicMBean
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- 指定者:
setAttributes
在接口中DynamicMBean