myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r698270 - in /myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator: core/ util/
Date Tue, 23 Sep 2008 18:31:46 GMT
Author: gpetracek
Date: Tue Sep 23 11:31:46 2008
New Revision: 698270

URL: http://svn.apache.org/viewvc?rev=698270&view=rev
Log:
unified names

Modified:
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/ValidationUtils.java

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java?rev=698270&r1=698269&r2=698270&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValRendererWrapper.java
Tue Sep 23 11:31:46 2008
@@ -83,7 +83,7 @@
 
         ValidationStrategy validationStrategy;
 
-        AnnotationExtractor annotationExtractor = FactoryUtils.getAnnotationExtractorFactory().create();
+        AnnotationExtractor annotationExtractor = FactoryUtils.getComponentAnnotationExtractorFactory().create();
 
         Map<String, Object> metaData;
         for (AnnotationEntry entry : annotationExtractor.extractAnnotations(facesContext,
uiComponent))

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java?rev=698270&r1=698269&r2=698270&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/InformationProviderBean.java
Tue Sep 23 11:31:46 2008
@@ -68,7 +68,7 @@
         return basePackage;
     }
 
-    public String getCustomAnnotationExtractorFactory()
+    public String getCustomComponentAnnotationExtractorFactory()
     {
         return this.basePackage + "AnnotationExtractorFactory";
     }

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java?rev=698270&r1=698269&r2=698270&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
Tue Sep 23 11:31:46 2008
@@ -52,8 +52,8 @@
         .getInitParameter("CUSTOM_MESSAGE_RESOLVER_FACTORY");
     static final String CUSTOM_VALIDATION_STRATEGY_FACTORY = WebXmlUtils
         .getInitParameter("CUSTOM_VALIDATION_STRATEGY_FACTORY");
-    static final String CUSTOM_ANNOTATION_EXTRACTOR_FACTORY = WebXmlUtils
-        .getInitParameter("CUSTOM_ANNOTATION_EXTRACTOR_FACTORY");
+    static final String CUSTOM_COMPONENT_ANNOTATION_EXTRACTOR_FACTORY = WebXmlUtils
+        .getInitParameter("CUSTOM_COMPONENT_ANNOTATION_EXTRACTOR_FACTORY");
 
     static final String CUSTOM_COMPONENT_ANNOTATION_EXTRACTOR = WebXmlUtils
         .getInitParameter("CUSTOM_COMPONENT_ANNOTATION_EXTRACTOR");

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java?rev=698270&r1=698269&r2=698270&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/FactoryUtils.java
Tue Sep 23 11:31:46 2008
@@ -50,17 +50,17 @@
     private static AnnotationExtractorFactory annotationExtractorFactory;
 
     @ToDo(value = Priority.MEDIUM, description = "logging")
-    public static AnnotationExtractorFactory getAnnotationExtractorFactory()
+    public static AnnotationExtractorFactory getComponentAnnotationExtractorFactory()
     {
         if (annotationExtractorFactory == null)
         {
             List<String> annotationExtractorFactoryClassNames = new ArrayList<String>();
 
             annotationExtractorFactoryClassNames
-                .add(WebXmlParameter.CUSTOM_ANNOTATION_EXTRACTOR_FACTORY);
+                .add(WebXmlParameter.CUSTOM_COMPONENT_ANNOTATION_EXTRACTOR_FACTORY);
             annotationExtractorFactoryClassNames.add(ExtValUtils
                 .getInformationProviderBean()
-                .getCustomAnnotationExtractorFactory());
+                .getCustomComponentAnnotationExtractorFactory());
             annotationExtractorFactoryClassNames
                 .add(DefaultComponentAnnotationExtractorFactory.class.getName());
 

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/ValidationUtils.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/ValidationUtils.java?rev=698270&r1=698269&r2=698270&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/ValidationUtils.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/util/ValidationUtils.java
Tue Sep 23 11:31:46 2008
@@ -50,7 +50,7 @@
         ValidationStrategy validationStrategy;
 
         AnnotationExtractor annotationExtractor = FactoryUtils
-            .getAnnotationExtractorFactory().create();
+            .getComponentAnnotationExtractorFactory().create();
         for (AnnotationEntry entry : annotationExtractor
             .extractAnnotations(facesContext, uiComponent))
         {



Mime
View raw message