类 JmxEndpointDiscoverer
- java.lang.Object
- org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
- org.springframework.boot.actuate.endpoint.jmx.annotation.JmxEndpointDiscoverer
public class JmxEndpointDiscoverer extends EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation> implements JmxEndpointsSupplier
- 从以下版本开始:
- 2.0.0
嵌套类概要
从类继承的嵌套类/接口 org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
EndpointDiscoverer.OperationKey
构造器概要
构造器 构造器 说明 JmxEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableJmxEndpoint>> filters)
Create a newJmxEndpointDiscoverer
instance.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected ExposableJmxEndpoint
createEndpoint(Object endpointBean, EndpointId id, boolean enabledByDefault, Collection<JmxOperation> operations)
Factory method called to create theendpoint
.protected JmxOperation
createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
Factory method to create anendpoint operation
.protected EndpointDiscoverer.OperationKey
createOperationKey(JmxOperation operation)
Create anEndpointDiscoverer.OperationKey
for the given operation.从类继承的方法 org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
getEndpoints, getEndpointType, isEndpointExposed, isExtensionExposed
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.actuate.endpoint.EndpointsSupplier
getEndpoints
构造器详细资料
JmxEndpointDiscoverer
public JmxEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableJmxEndpoint>> filters)
Create a newJmxEndpointDiscoverer
instance.- 参数:
applicationContext
- the source application contextparameterValueMapper
- the parameter value mapperinvokerAdvisors
- invoker advisors to applyfilters
- filters to apply
方法详细资料
createEndpoint
protected ExposableJmxEndpoint createEndpoint(Object endpointBean, EndpointId id, boolean enabledByDefault, Collection<JmxOperation> operations)
从类复制的说明:EndpointDiscoverer
Factory method called to create theendpoint
.- 指定者:
createEndpoint
在类中EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
- 参数:
endpointBean
- the source endpoint beanid
- the ID of the endpointenabledByDefault
- if the endpoint is enabled by defaultoperations
- the endpoint operations- 返回:
- a created endpoint (a
DiscoveredEndpoint
is recommended)
createOperation
protected JmxOperation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
从类复制的说明:EndpointDiscoverer
Factory method to create anendpoint operation
.- 指定者:
createOperation
在类中EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
- 参数:
endpointId
- the endpoint idoperationMethod
- the operation methodinvoker
- the invoker to use- 返回:
- a created operation
createOperationKey
protected EndpointDiscoverer.OperationKey createOperationKey(JmxOperation operation)
从类复制的说明:EndpointDiscoverer
Create anEndpointDiscoverer.OperationKey
for the given operation.- 指定者:
createOperationKey
在类中EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
- 参数:
operation
- the source operation- 返回:
- the operation key