public class JmxEndpointDiscoverer extends EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation> implements JmxEndpointsSupplier
EndpointDiscoverer.OperationKey
Constructor and Description |
---|
JmxEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterValueMapper parameterValueMapper,
Collection<OperationInvokerAdvisor> invokerAdvisors,
Collection<EndpointFilter<ExposableJmxEndpoint>> filters)
Create a new
JmxEndpointDiscoverer instance. |
Modifier and Type | Method and Description |
---|---|
protected ExposableJmxEndpoint |
createEndpoint(Object endpointBean,
EndpointId id,
boolean enabledByDefault,
Collection<JmxOperation> operations)
Factory method called to create the
endpoint . |
protected ExposableJmxEndpoint |
createEndpoint(Object endpointBean,
String id,
boolean enabledByDefault,
Collection<JmxOperation> operations)
Deprecated.
|
protected JmxOperation |
createOperation(EndpointId endpointId,
DiscoveredOperationMethod operationMethod,
OperationInvoker invoker)
Factory method to create an
endpoint operation . |
protected JmxOperation |
createOperation(String endpointId,
DiscoveredOperationMethod operationMethod,
OperationInvoker invoker)
Deprecated.
|
protected EndpointDiscoverer.OperationKey |
createOperationKey(JmxOperation operation)
Create an
EndpointDiscoverer.OperationKey for the given operation. |
getEndpoints, getEndpointType, isEndpointExposed, isExtensionExposed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoints
public JmxEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableJmxEndpoint>> filters)
JmxEndpointDiscoverer
instance.applicationContext
- the source application contextparameterValueMapper
- the parameter value mapperinvokerAdvisors
- invoker advisors to applyfilters
- filters to apply@Deprecated protected ExposableJmxEndpoint createEndpoint(Object endpointBean, String id, boolean enabledByDefault, Collection<JmxOperation> operations)
EndpointDiscoverer
endpoint
.createEndpoint
in class EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
endpointBean
- the source endpoint beanid
- the ID of the endpointenabledByDefault
- if the endpoint is enabled by defaultoperations
- the endpoint operationsDiscoveredEndpoint
is recommended)protected ExposableJmxEndpoint createEndpoint(Object endpointBean, EndpointId id, boolean enabledByDefault, Collection<JmxOperation> operations)
EndpointDiscoverer
endpoint
.createEndpoint
in class EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
endpointBean
- the source endpoint beanid
- the ID of the endpointenabledByDefault
- if the endpoint is enabled by defaultoperations
- the endpoint operationsDiscoveredEndpoint
is recommended)@Deprecated protected JmxOperation createOperation(String endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
EndpointDiscoverer
endpoint operation
.createOperation
in class EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
endpointId
- the endpoint idoperationMethod
- the operation methodinvoker
- the invoker to useprotected JmxOperation createOperation(EndpointId endpointId, DiscoveredOperationMethod operationMethod, OperationInvoker invoker)
EndpointDiscoverer
endpoint operation
.createOperation
in class EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
endpointId
- the endpoint idoperationMethod
- the operation methodinvoker
- the invoker to useprotected EndpointDiscoverer.OperationKey createOperationKey(JmxOperation operation)
EndpointDiscoverer
EndpointDiscoverer.OperationKey
for the given operation.createOperationKey
in class EndpointDiscoverer<ExposableJmxEndpoint,JmxOperation>
operation
- the source operationCopyright © 2019 Pivotal Software, Inc.. All rights reserved.