public class ConstraintMappingContext extends Object
Constructor and Description |
---|
ConstraintMappingContext() |
public static ConstraintMappingContext getFromMapping(ConstraintMapping mapping)
mapping
- the programmatic constraint mappingpublic final Map<Class<?>,Set<ConfiguredConstraint<?,BeanConstraintLocation>>> getConstraintConfig()
public Map<Class<?>,Set<ConfiguredConstraint<?,MethodConstraintLocation>>> getMethodConstraintConfig()
public final Map<Class<?>,Set<BeanConstraintLocation>> getCascadeConfig()
public final Map<Class<?>,Set<MethodConstraintLocation>> getMethodCascadeConfig()
public final Collection<Class<?>> getConfiguredClasses()
public final AnnotationProcessingOptions getAnnotationProcessingOptions()
public final <T> Class<? extends DefaultGroupSequenceProvider<? super T>> getDeprecatedDefaultGroupSequenceProvider(Class<T> beanType)
beanType
- The bean type.null
if none.public final <T> Class<? extends DefaultGroupSequenceProvider<? super T>> getDefaultGroupSequenceProvider(Class<T> beanType)
beanType
- The bean type.null
if none.public final void addCascadeConfig(BeanConstraintLocation cascade)
public final void addMethodCascadeConfig(MethodConstraintLocation cascade)
public final void addDefaultGroupSequence(Class<?> beanClass, List<Class<?>> defaultGroupSequence)
public final <T> void addDeprecatedDefaultGroupSequenceProvider(Class<T> beanClass, Class<? extends DefaultGroupSequenceProvider<? super T>> defaultGroupSequenceProviderClass)
public final <T> void addDefaultGroupSequenceProvider(Class<T> beanClass, Class<? extends DefaultGroupSequenceProvider<? super T>> defaultGroupSequenceProviderClass)
public final void addConstraintConfig(ConfiguredConstraint<?,BeanConstraintLocation> constraint)
public final void addMethodConstraintConfig(ConfiguredConstraint<?,MethodConstraintLocation> constraint)
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved