public abstract class MetaDataProviderKeyedByClassName extends Object implements MetaDataProvider
MetaDataProvider
s which cache the BeanConfiguration
by class name.Modifier and Type | Field and Description |
---|---|
protected ConstraintHelper |
constraintHelper |
Constructor and Description |
---|
MetaDataProviderKeyedByClassName(ConstraintHelper constraintHelper,
Map<String,BeanConfiguration<?>> configuredBeans) |
Modifier and Type | Method and Description |
---|---|
protected static <T> BeanConfiguration<T> |
createBeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider) |
protected <T> BeanConfiguration<T> |
getBeanConfiguration(Class<T> beanClass) |
<T> List<BeanConfiguration<? super T>> |
getBeanConfigurationForHierarchy(Class<T> beanClass)
Returns a list with the configurations for all types contained in the
given type's hierarchy (including implemented interfaces) starting at the
specified type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationProcessingOptions
protected final ConstraintHelper constraintHelper
public MetaDataProviderKeyedByClassName(ConstraintHelper constraintHelper, Map<String,BeanConfiguration<?>> configuredBeans)
public <T> List<BeanConfiguration<? super T>> getBeanConfigurationForHierarchy(Class<T> beanClass)
MetaDataProvider
getBeanConfigurationForHierarchy
in interface MetaDataProvider
T
- The type of the class to get the configurations for.beanClass
- The type of interest.null
.protected <T> BeanConfiguration<T> getBeanConfiguration(Class<T> beanClass)
protected static <T> BeanConfiguration<T> createBeanConfiguration(ConfigurationSource source, Class<T> beanClass, Set<? extends ConstrainedElement> constrainedElements, List<Class<?>> defaultGroupSequence, DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved