@Singleton public class EndpointSensitivityProcessor extends Object implements ExecutableMethodProcessor<Endpoint>
Constructor and Description |
---|
EndpointSensitivityProcessor(List<EndpointConfiguration> endpointConfigurations,
EndpointDefaultConfiguration defaultConfiguration,
PropertyResolver propertyResolver)
Constructs with the existing and default endpoint configurations used to determine if a given endpoint is
sensitive.
|
Modifier and Type | Method and Description |
---|---|
Map<ExecutableMethod,Boolean> |
getEndpointMethods() |
void |
process(BeanDefinition<?> beanDefinition,
ExecutableMethod<?,?> method)
The process method will be called for every
ExecutableMethod that is annotated with the type parameter A. |
@Inject public EndpointSensitivityProcessor(List<EndpointConfiguration> endpointConfigurations, EndpointDefaultConfiguration defaultConfiguration, PropertyResolver propertyResolver)
endpointConfigurations
- The endpoint configurationsdefaultConfiguration
- The default endpoint configurationpropertyResolver
- The property resolverpublic Map<ExecutableMethod,Boolean> getEndpointMethods()
Endpoint
and a boolean value being
the sensitive configuration for the endpoint.public void process(BeanDefinition<?> beanDefinition, ExecutableMethod<?,?> method)
ExecutableMethodProcessor
ExecutableMethod
that is annotated with the type parameter A.process
in interface AnnotationProcessor<Endpoint,ExecutableMethod<?,?>>
process
in interface ExecutableMethodProcessor<Endpoint>
beanDefinition
- The bean definition to processmethod
- The executable method