org.hibernate.validator
Class Environment

java.lang.Object
  extended by org.hibernate.validator.Environment

public class Environment
extends Object

Hibernate Validator Event properties The properties are retrieved from Hibernate (hibernate.properties, hibernate.cfg.xml, persistence.xml or Configuration API)

Author:
Emmanuel Bernard

Field Summary
static String APPLY_TO_DDL
          Apply DDL changes on Hibernate metamodel when using validator with Hibernate Annotations.
static String AUTOREGISTER_LISTENERS
          Enable listeners auto registration in Hibernate Annotations and EntityManager.
static String MESSAGE_INTERPOLATOR_CLASS
          Message interpolator class used.
 
Constructor Summary
Environment()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_INTERPOLATOR_CLASS

public static final String MESSAGE_INTERPOLATOR_CLASS
Message interpolator class used. The same instance is shared across all ClassValidators

See Also:
Constant Field Values

APPLY_TO_DDL

public static final String APPLY_TO_DDL
Apply DDL changes on Hibernate metamodel when using validator with Hibernate Annotations. Default to true.

See Also:
Constant Field Values

AUTOREGISTER_LISTENERS

public static final String AUTOREGISTER_LISTENERS
Enable listeners auto registration in Hibernate Annotations and EntityManager. Default to true.

See Also:
Constant Field Values
Constructor Detail

Environment

public Environment()


Copyright © 2009. All Rights Reserved.