@Singleton public class EndpointSensitivityProcessor extends java.lang.Object implements ExecutableMethodProcessor<Endpoint>
Constructor and Description |
---|
EndpointSensitivityProcessor(java.util.List<EndpointConfiguration> endpointConfigurations,
EndpointDefaultConfiguration defaultConfiguration)
Deprecated.
|
EndpointSensitivityProcessor(java.util.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 |
---|---|
java.util.Map<ExecutableMethod,java.lang.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. |
@Deprecated public EndpointSensitivityProcessor(java.util.List<EndpointConfiguration> endpointConfigurations, EndpointDefaultConfiguration defaultConfiguration)
endpointConfigurations
- The endpoint configurationsdefaultConfiguration
- The default endpoint configuration@Inject public EndpointSensitivityProcessor(java.util.List<EndpointConfiguration> endpointConfigurations, EndpointDefaultConfiguration defaultConfiguration, PropertyResolver propertyResolver)
endpointConfigurations
- The endpoint configurationsdefaultConfiguration
- The default endpoint configurationpropertyResolver
- The property resolverpublic java.util.Map<ExecutableMethod,java.lang.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