Package | Description |
---|---|
javax.validation |
Top level package of the Bean Validation API.
|
javax.validation.spi |
Package containing objects specific to the interaction between the
Bean Validation bootstrapping process and Bean Validation providers.
|
org.apache.cxf.validation | |
org.hibernate.cfg.beanvalidation | |
org.hibernate.validator |
Bootstrap classes HibernateValidator and
HibernateValidatorConfiguration which uniquely identify Hibernate
Validator and allow to configure it.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.engine.resolver |
Various implementations of the TraversableResolver interface.
|
org.hibernate.validator.internal.xml |
Classes for parsing of Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
TraversableResolver |
Configuration.getDefaultTraversableResolver()
Returns an implementation of the
TraversableResolver interface
following the default TraversableResolver defined in the
specification:
if Java Persistence is available in the runtime environment,
a property is considered reachable if Java Persistence considers
the property as loaded
if Java Persistence is not available in the runtime environment,
all properties are considered reachable
all properties are considered cascadable.
|
TraversableResolver |
ValidatorFactory.getTraversableResolver()
Returns the
TraversableResolver instance configured
at initialization time for the ValidatorFactory . |
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.traversableResolver(TraversableResolver traversableResolver)
Defines the traversable resolver implementation used by the
Validator . |
T |
Configuration.traversableResolver(TraversableResolver resolver)
Defines the traversable resolver used.
|
Modifier and Type | Method and Description |
---|---|
TraversableResolver |
ConfigurationState.getTraversableResolver()
Returns the traversable resolver for this configuration.
|
Modifier and Type | Method and Description |
---|---|
TraversableResolver |
ValidationConfiguration.getTraversableResolver() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationConfiguration.setTraversableResolver(TraversableResolver traversableResolver) |
Modifier and Type | Class and Description |
---|---|
class |
HibernateTraversableResolver
Use Hibernate metadata to ignore cascade on entities.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorContext |
HibernateValidatorContext.traversableResolver(TraversableResolver traversableResolver) |
Modifier and Type | Method and Description |
---|---|
TraversableResolver |
ConfigurationImpl.getDefaultTraversableResolver() |
TraversableResolver |
ValidatorFactoryImpl.getTraversableResolver() |
TraversableResolver |
ValidationContext.getTraversableResolver() |
TraversableResolver |
ConfigurationImpl.getTraversableResolver() |
Modifier and Type | Method and Description |
---|---|
static ValidationContext.ValidationContextBuilder |
ValidationContext.getValidationContext(ConstraintValidatorManager constraintValidatorManager,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
TimeProvider timeProvider,
List<ValidatedValueUnwrapper<?>> validatedValueUnwrappers,
TypeResolutionHelper typeResolutionHelper,
boolean failFast) |
HibernateValidatorContext |
ValidatorContextImpl.traversableResolver(TraversableResolver traversableResolver) |
ConfigurationImpl |
ConfigurationImpl.traversableResolver(TraversableResolver resolver) |
Constructor and Description |
---|
ValidatorImpl(ConstraintValidatorFactory constraintValidatorFactory,
MessageInterpolator messageInterpolator,
TraversableResolver traversableResolver,
BeanMetaDataManager beanMetaDataManager,
ParameterNameProvider parameterNameProvider,
TimeProvider timeProvider,
TypeResolutionHelper typeResolutionHelper,
List<ValidatedValueUnwrapper<?>> validatedValueHandlers,
ConstraintValidatorManager constraintValidatorManager,
boolean failFast) |
Modifier and Type | Class and Description |
---|---|
class |
CachingTraversableResolverForSingleValidation
Cache results of a delegated traversable resolver to optimize calls.
|
class |
DefaultTraversableResolver
A JPA 2 aware
TraversableResolver . |
class |
JPATraversableResolver
An implementation of
TraversableResolver which is aware of JPA 2 and utilizes PersistenceUtil to get
query the reachability of a property. |
Constructor and Description |
---|
CachingTraversableResolverForSingleValidation(TraversableResolver delegate) |
Modifier and Type | Method and Description |
---|---|
TraversableResolver |
ValidationBootstrapParameters.getTraversableResolver() |
Modifier and Type | Method and Description |
---|---|
void |
ValidationBootstrapParameters.setTraversableResolver(TraversableResolver traversableResolver) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.