T
- the type of the operationK
- the type of the operation keypublic abstract class AnnotationEndpointDiscoverer<T extends Operation,K> extends Object implements EndpointDiscoverer<T>
EndpointDiscoverer
implementation that discovers Endpoint
beans
in an application context.Modifier and Type | Class and Description |
---|---|
protected static class |
AnnotationEndpointDiscoverer.EndpointInfoDescriptor<T extends Operation,K>
Describes an
endpoint and whether or not it is valid. |
protected static interface |
AnnotationEndpointDiscoverer.EndpointOperationFactory<T extends Operation>
An
EndpointOperationFactory creates an Operation for an operation
on an endpoint. |
protected static class |
AnnotationEndpointDiscoverer.OperationKey<K>
Define the key of an operation in the context of an operation's implementation.
|
Modifier | Constructor and Description |
---|---|
protected |
AnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext,
AnnotationEndpointDiscoverer.EndpointOperationFactory<T> operationFactory,
Function<T,K> operationKeyFactory,
CachingConfigurationFactory cachingConfigurationFactory) |
Modifier and Type | Method and Description |
---|---|
protected Collection<AnnotationEndpointDiscoverer.EndpointInfoDescriptor<T,K>> |
discoverEndpoints(Class<? extends Annotation> extensionType,
EndpointExposure exposure)
Perform endpoint discovery, including discovery and merging of extensions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discoverEndpoints
protected AnnotationEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, AnnotationEndpointDiscoverer.EndpointOperationFactory<T> operationFactory, Function<T,K> operationKeyFactory, CachingConfigurationFactory cachingConfigurationFactory)
protected Collection<AnnotationEndpointDiscoverer.EndpointInfoDescriptor<T,K>> discoverEndpoints(Class<? extends Annotation> extensionType, EndpointExposure exposure)
extensionType
- the annotation type of the extensionexposure
- the EndpointExposure
that should be consideredEndpointInfos
that describes the
discovered endpoints matching the specified EndpointExposure
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.