incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romanst...@apache.org
Subject svn commit: r929604 - /incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
Date Wed, 31 Mar 2010 16:08:41 GMT
Author: romanstumm
Date: Wed Mar 31 16:08:41 2010
New Revision: 929604

URL: http://svn.apache.org/viewvc?rev=929604&view=rev
Log:
+ one more TODO comment about what could become part of an optional module

Modified:
    incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java

Modified: incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java?rev=929604&r1=929603&r2=929604&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
(original)
+++ incubator/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/ApacheFactoryContext.java
Wed Mar 31 16:08:41 2010
@@ -18,15 +18,10 @@
  */
 package org.apache.bval.jsr303;
 
-import javax.validation.*;
-
-import org.apache.bval.IntrospectorMetaBeanFactory;
-import org.apache.bval.MetaBeanBuilder;
-import org.apache.bval.MetaBeanFactory;
-import org.apache.bval.MetaBeanFinder;
-import org.apache.bval.MetaBeanManager;
+import org.apache.bval.*;
 import org.apache.bval.xml.XMLMetaBeanFactory;
 
+import javax.validation.*;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -119,7 +114,11 @@ public class ApacheFactoryContext implem
             builders.add(new IntrospectorMetaBeanFactory());
         }
         builders.add(new Jsr303MetaBeanFactory(this));
-
+      /**
+       * TODO RSt - decide whether to move proprietary XMLMetaBeanFactory support (currently
handled with XStream) out of the core:
+       *  get rid of XStream dependency and package org.apache.bval.xml in core
+       *  this would also require a split in MetaBeanManager and MetaBeanBuilder, because
parts of the code deal with classes in this package  
+       */
         if (Boolean.parseBoolean(factory.getProperties().get(
               ApacheValidatorConfiguration.Properties.ENABLE_METABEANS_XML))) {
             builders.add(new XMLMetaBeanFactory());



Mime
View raw message