myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1197518 - in /myfaces/extensions/cdi/trunk/jee-modules/bv-module: api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/
Date Fri, 04 Nov 2011 11:44:10 GMT
Author: gpetracek
Date: Fri Nov  4 11:44:09 2011
New Revision: 1197518

URL: http://svn.apache.org/viewvc?rev=1197518&view=rev
Log:
EXTCDI-238 cleanup of the bv module

Modified:
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/BeanValidationModuleBeanNames.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ClassLevelConstraintValidator.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/AdvancedValidatorContext.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/BeanValidationModuleStartupObserver.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareBeanValidationProducer.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareValidatorFactory.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableConstraintValidatorFactory.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableMessageInterpolator.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidator.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidatorFactory.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectionAwareConstraintValidatorFactory.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/SerializableValidatorFactory.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryResolver.java
    myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryStorage.java

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/BeanValidationModuleBeanNames.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/BeanValidationModuleBeanNames.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/BeanValidationModuleBeanNames.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/BeanValidationModuleBeanNames.java
Fri Nov  4 11:44:09 2011
@@ -22,8 +22,6 @@ import org.apache.myfaces.extensions.cdi
 
 /**
  * Contains all bean names provided by this module
- * 
- * @author Gerhard Petracek
  */
 public interface BeanValidationModuleBeanNames extends BeanNames
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ClassLevelConstraintValidator.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ClassLevelConstraintValidator.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ClassLevelConstraintValidator.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/api/src/main/java/org/apache/myfaces/extensions/cdi/bv/api/ClassLevelConstraintValidator.java
Fri Nov  4 11:44:09 2011
@@ -28,8 +28,6 @@ import java.lang.reflect.Method;
 
 /**
  * Required if 'invalidValue' should be used for violation messages for class-level validation.
- *
- * @author Gerhard Petracek
  */
 public abstract class ClassLevelConstraintValidator<A extends Annotation, T>
         implements ConstraintValidator<A, T>, Serializable

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/AdvancedValidatorContext.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/AdvancedValidatorContext.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/AdvancedValidatorContext.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/AdvancedValidatorContext.java
Fri Nov  4 11:44:09 2011
@@ -27,7 +27,7 @@ import javax.validation.ValidatorContext
 import javax.validation.ValidatorFactory;
 
 /**
- * @author Gerhard Petracek
+ * {@link ValidatorContext} for supporting {@link org.apache.myfaces.extensions.cdi.core.api.Advanced}
  */
 @Typed()
 class AdvancedValidatorContext implements ValidatorContext

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/BeanValidationModuleStartupObserver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/BeanValidationModuleStartupObserver.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/BeanValidationModuleStartupObserver.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/BeanValidationModuleStartupObserver.java
Fri Nov  4 11:44:09 2011
@@ -27,7 +27,7 @@ import javax.enterprise.event.Observes;
 import java.util.logging.Level;
 
 /**
- * @author Gerhard Petracek
+ * Startup observer
  */
 @ApplicationScoped
 public class BeanValidationModuleStartupObserver extends AbstractStartupObserver

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareBeanValidationProducer.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareBeanValidationProducer.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareBeanValidationProducer.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareBeanValidationProducer.java
Fri Nov  4 11:44:09 2011
@@ -28,7 +28,7 @@ import javax.enterprise.inject.Produces;
 import javax.inject.Named;
 
 /**
- * @author Gerhard Petracek
+ * Producer for BV artifacts
  */
 @ApplicationScoped
 public class CdiAwareBeanValidationProducer

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareValidatorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareValidatorFactory.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareValidatorFactory.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/CdiAwareValidatorFactory.java
Fri Nov  4 11:44:09 2011
@@ -30,7 +30,7 @@ import javax.validation.ConstraintValida
 import javax.validation.ConstraintValidator;
 
 /**
- * @author Gerhard Petracek
+ * {@link ValidatorFactory} which can be serialized
  */
 @Typed()
 class CdiAwareValidatorFactory extends SerializableValidatorFactory

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableConstraintValidatorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableConstraintValidatorFactory.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableConstraintValidatorFactory.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableConstraintValidatorFactory.java
Fri Nov  4 11:44:09 2011
@@ -25,7 +25,8 @@ import java.io.Serializable;
 import static org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.injectFields;
 
 /**
- * @author Gerhard Petracek
+ * {@link ConstraintValidatorFactory} which can be serialized and adds support for dependency
injection in
+ * {@link ConstraintValidator} instances.
  */
 class InjectableConstraintValidatorFactory implements ConstraintValidatorFactory, Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableMessageInterpolator.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableMessageInterpolator.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableMessageInterpolator.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableMessageInterpolator.java
Fri Nov  4 11:44:09 2011
@@ -23,7 +23,7 @@ import java.io.Serializable;
 import java.util.Locale;
 
 /**
- * @author Gerhard Petracek
+ * {@link MessageInterpolator} which can be serialized
  */
 class InjectableMessageInterpolator implements MessageInterpolator, Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidator.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidator.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidator.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidator.java
Fri Nov  4 11:44:09 2011
@@ -25,7 +25,7 @@ import java.io.Serializable;
 import java.util.Set;
 
 /**
- * @author Gerhard Petracek
+ * {@link Validator} which can be serialized
  */
 class InjectableValidator implements Validator, Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidatorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidatorFactory.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidatorFactory.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectableValidatorFactory.java
Fri Nov  4 11:44:09 2011
@@ -27,7 +27,7 @@ import javax.validation.ConstraintValida
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * {@link ValidatorFactory} which can be serialized
  */
 class InjectableValidatorFactory implements ValidatorFactory, Serializable
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectionAwareConstraintValidatorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectionAwareConstraintValidatorFactory.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectionAwareConstraintValidatorFactory.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/InjectionAwareConstraintValidatorFactory.java
Fri Nov  4 11:44:09 2011
@@ -25,8 +25,9 @@ import javax.validation.ConstraintValida
 import static org.apache.myfaces.extensions.cdi.core.impl.util.CodiUtils.injectFields;
 
 /**
- * @author Gerhard Petracek
+ * {@link ConstraintValidatorFactory} which adds support for dependency injection in {@link
ConstraintValidator}
  */
+//TODO review
 @Typed()
 class InjectionAwareConstraintValidatorFactory implements ConstraintValidatorFactory
 {

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/SerializableValidatorFactory.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/SerializableValidatorFactory.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/SerializableValidatorFactory.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/SerializableValidatorFactory.java
Fri Nov  4 11:44:09 2011
@@ -23,9 +23,10 @@ import javax.validation.ValidatorFactory
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * {@link ValidatorFactory} which can be serialized
  */
 @Typed()
+//TODO review
 abstract class SerializableValidatorFactory implements ValidatorFactory, Serializable
 {
 }

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryResolver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryResolver.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryResolver.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryResolver.java
Fri Nov  4 11:44:09 2011
@@ -26,7 +26,7 @@ import javax.validation.ValidatorFactory
 import java.io.Serializable;
 
 /**
- * @author Gerhard Petracek
+ * Allows to resolve a {@link ValidatorFactory} provided by the JSF module
  */
 @Typed()
 class ValidatorFactoryResolver implements Serializable

Modified: myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryStorage.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryStorage.java?rev=1197518&r1=1197517&r2=1197518&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryStorage.java
(original)
+++ myfaces/extensions/cdi/trunk/jee-modules/bv-module/impl/src/main/java/org/apache/myfaces/extensions/cdi/bv/impl/ValidatorFactoryStorage.java
Fri Nov  4 11:44:09 2011
@@ -27,7 +27,7 @@ import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
 /**
- * @author Gerhard Petracek
+ * Cache for {@link ValidatorFactory} instances
  */
 @Typed()
 class ValidatorFactoryStorage



Mime
View raw message