MetaDataProvider based on the programmatic constraint API.
| Modifier and Type | Field and Description |
|---|---|
| private final AnnotationProcessingOptions | |
| private final Map | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public | ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings)
|
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static Map | createBeanConfigurations(Set<DefaultConstraintMapping> mappings, ConstraintCreationContext constraintCreationContext)
|
| public AnnotationProcessingOptions | getAnnotationProcessingOptions()
Implements org. |
| public <T> BeanConfiguration | getBeanConfiguration(Class<T> beanClass)
Implements org. null if this provider has no meta-data on the given
type.
|
| private static AnnotationProcessingOptions | Returns: a single annotation processing options objectset of mapping contexts providing annotation processing options to be merged mappings)Creates a single merged |
| annotationProcessingOptions | back to summary |
|---|---|
| private final AnnotationProcessingOptions annotationProcessingOptions | |
| configuredBeans | back to summary |
|---|---|
| private final Map<String, BeanConfiguration<?>> configuredBeans
| |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| ProgrammaticMetaDataProvider | back to summary |
|---|---|
| public ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings) | |
| assertUniquenessOfConfiguredTypes | back to summary |
|---|---|
| private static void assertUniquenessOfConfiguredTypes(Set<DefaultConstraintMapping> mappings) | |
| createBeanConfigurations | back to summary |
|---|---|
| private static Map | |
| getAnnotationProcessingOptions | back to summary |
|---|---|
| public AnnotationProcessingOptions getAnnotationProcessingOptions() Implements org. Doc from org. Returns the annotation processing options as configured by this provider.
| |
| getBeanConfiguration | back to summary |
|---|---|
| public <T> BeanConfiguration Implements org. Doc from org. Returns a bean configuration for the given type or
| |
| mergeAnnotationProcessingOptions | back to summary |
|---|---|
| private static AnnotationProcessingOptions mergeAnnotationProcessingOptions(Set<DefaultConstraintMapping> mappings) Creates a single merged Note that it is made sure at this point that no element (type, property, method etc.) is configured more than once within all the given contexts. So the "merge" pulls together the information for all configured elements, but it will never merge several configurations for one given element.
| |