public class JmxAnnotationEndpointDiscoverer extends AnnotationEndpointDiscoverer<JmxEndpointOperation,String>
AnnotationEndpointDiscoverer.EndpointInfoDescriptor<T extends Operation,K>, AnnotationEndpointDiscoverer.EndpointOperationFactory<T extends Operation>, AnnotationEndpointDiscoverer.OperationKey<K>
Constructor and Description |
---|
JmxAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
OperationParameterMapper parameterMapper,
CachingConfigurationFactory cachingConfigurationFactory)
Creates a new
JmxAnnotationEndpointDiscoverer that will discover
endpoints and jmx extensions using
the given ApplicationContext . |
Modifier and Type | Method and Description |
---|---|
Collection<EndpointInfo<JmxEndpointOperation>> |
discoverEndpoints()
Perform endpoint discovery.
|
discoverEndpoints
public JmxAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, OperationParameterMapper parameterMapper, CachingConfigurationFactory cachingConfigurationFactory)
JmxAnnotationEndpointDiscoverer
that will discover
endpoints
and jmx extensions
using
the given ApplicationContext
.applicationContext
- the application contextparameterMapper
- the OperationParameterMapper
used to convert
arguments when an operation is invokedcachingConfigurationFactory
- the CachingConfiguration
factory to usepublic Collection<EndpointInfo<JmxEndpointOperation>> discoverEndpoints()
EndpointDiscoverer
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.