public class JmxAnnotationEndpointDiscoverer extends AnnotationEndpointDiscoverer<String,JmxOperation>
AnnotationEndpointDiscoverer.DiscoveredEndpoint, AnnotationEndpointDiscoverer.DiscoveredExtension, AnnotationEndpointDiscoverer.OperationKey
Constructor and Description |
---|
JmxAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
ParameterMapper parameterMapper,
Collection<? extends OperationMethodInvokerAdvisor> invokerAdvisors,
Collection<? extends EndpointFilter<JmxOperation>> filters)
Creates a new
JmxAnnotationEndpointDiscoverer that will discover
endpoints and jmx extensions using
the given ApplicationContext . |
Modifier and Type | Method and Description |
---|---|
protected void |
verify(Collection<AnnotationEndpointDiscoverer.DiscoveredEndpoint> exposedEndpoints)
Allows subclasses to verify that the descriptors are correctly configured.
|
discoverEndpoints, getOperationType, isExtensionExposed
public JmxAnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, ParameterMapper parameterMapper, Collection<? extends OperationMethodInvokerAdvisor> invokerAdvisors, Collection<? extends EndpointFilter<JmxOperation>> filters)
JmxAnnotationEndpointDiscoverer
that will discover
endpoints
and jmx extensions
using
the given ApplicationContext
.applicationContext
- the application contextparameterMapper
- the ParameterMapper
used to convert arguments when
an operation is invokedinvokerAdvisors
- advisors used to add additional invoker advisefilters
- filters that must match for an endpoint to be exposedprotected void verify(Collection<AnnotationEndpointDiscoverer.DiscoveredEndpoint> exposedEndpoints)
AnnotationEndpointDiscoverer
verify
in class AnnotationEndpointDiscoverer<String,JmxOperation>
exposedEndpoints
- the discovered endpoints to verify before exposingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.