| Package | Description |
|---|---|
| javax.validation | |
| javax.validation.spi | |
| 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.engine |
Implementations for the core interfaces of JSR-303.
|
| org.hibernate.validator.util |
Independent helper classes.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidatorFactory |
Validation.buildDefaultValidatorFactory()
Build and return a
ValidatorFactory instance based on the
default Bean Validation provider and following the XML configuration. |
ValidatorFactory |
Configuration.buildValidatorFactory()
Build a
ValidatorFactory implementation. |
| Modifier and Type | Method and Description |
|---|---|
ValidatorFactory |
ValidationProvider.buildValidatorFactory(ConfigurationState configurationState)
Build a
ValidatorFactory using the current provider implementation. |
| Constructor and Description |
|---|
BeanValidationEventListener(ValidatorFactory factory,
Properties properties)
Constructor used in an environment where validator factory is injected (JPA2).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
HibernateValidatorFactory
Provides Hibernate Validator extensions to
ValidatorFactory. |
| Modifier and Type | Method and Description |
|---|---|
ValidatorFactory |
HibernateValidator.buildValidatorFactory(ConfigurationState configurationState) |
| Modifier and Type | Class and Description |
|---|---|
class |
ValidatorFactoryImpl
Factory returning initialized
Validator instances. |
| Modifier and Type | Method and Description |
|---|---|
ValidatorFactory |
ConfigurationImpl.buildValidatorFactory() |
| Modifier and Type | Class and Description |
|---|---|
class |
LazyValidatorFactory
This class lazily initialize the ValidatorFactory on the first usage
One benefit is that no domain class is loaded until the
ValidatorFactory is really needed.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.