[jboss-cvs] JBossAS SVN: r94783 - in projects/jboss-jca/trunk: core/src/main/java/org/jboss/jca/core/bv and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 13 14:43:19 EDT 2009
Author: jesper.pedersen
Date: 2009-10-13 14:43:19 -0400 (Tue, 13 Oct 2009)
New Revision: 94783
Modified:
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/bv/SerializableValidatorFactory.java
Log:
[JBJCA-192] [JBJCA-193] Hibernate Validator 4.0.0.GA
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2009-10-13 18:35:10 UTC (rev 94782)
+++ projects/jboss-jca/trunk/build.xml 2009-10-13 18:43:19 UTC (rev 94783)
@@ -76,7 +76,7 @@
<property name="version.apache-logging" value="1.1.0.jboss"/>
<property name="version.apache-xerces" value="2.9.1"/>
<property name="version.easymock" value="2.4"/>
- <property name="version.hibernate-validator" value="4.0.0.CR1"/>
+ <property name="version.hibernate-validator" value="4.0.0.GA"/>
<property name="version.javassist" value="3.11.0.GA"/>
<property name="version.jaxb.api" value="2.1"/>
<property name="version.jaxb.impl" value="2.1.9"/>
@@ -109,7 +109,7 @@
<property name="version.stax" value="1.0.1"/>
<property name="version.transaction.api" value="1.0.1.GA"/>
<property name="version.trove" value="2.1.1"/>
- <property name="version.validation-api" value="1.0.CR5"/>
+ <property name="version.validation-api" value="1.0.0.GA"/>
<!-- =================================
Paths
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/bv/SerializableValidatorFactory.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/bv/SerializableValidatorFactory.java 2009-10-13 18:35:10 UTC (rev 94782)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/bv/SerializableValidatorFactory.java 2009-10-13 18:43:19 UTC (rev 94783)
@@ -27,7 +27,9 @@
import java.io.ObjectOutputStream;
import java.io.Serializable;
+import javax.validation.ConstraintValidatorFactory;
import javax.validation.MessageInterpolator;
+import javax.validation.TraversableResolver;
import javax.validation.Validator;
import javax.validation.ValidatorContext;
import javax.validation.ValidatorFactory;
@@ -106,6 +108,24 @@
}
/**
+ * Get the constraint validator factory
+ * @return The factory
+ */
+ public ConstraintValidatorFactory getConstraintValidatorFactory()
+ {
+ return validatorFactory.getConstraintValidatorFactory();
+ }
+
+ /**
+ * Get the traversable resolver
+ * @return The resolver
+ */
+ public TraversableResolver getTraversableResolver()
+ {
+ return validatorFactory.getTraversableResolver();
+ }
+
+ /**
* Write the object - Nothing is written as the validator factory is transient
* @param out The output stream
* @exception IOException Thrown if an error occurs
More information about the jboss-cvs-commits
mailing list