You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2010/01/12 10:10:03 UTC

svn commit: r898265 - /commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java

Author: simonetripodi
Date: Tue Jan 12 09:10:03 2010
New Revision: 898265

URL: http://svn.apache.org/viewvc?rev=898265&view=rev
Log:
set the SetPropertiesLoaderHandler as handler for @SetProperty annotation

Modified:
    commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java

Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java
URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java?rev=898265&r1=898264&r2=898265&view=diff
==============================================================================
--- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java (original)
+++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java Tue Jan 12 09:10:03 2010
@@ -23,6 +23,7 @@
 import java.lang.annotation.Target;
 
 import org.apache.commons.digester.SetPropertiesRule;
+import org.apache.commons.digester.annotations.handlers.SetPropertiesLoaderHandler;
 import org.apache.commons.digester.annotations.providers.SetPropertiesRuleProvider;
 
 /**
@@ -38,7 +39,8 @@
 @Target(ElementType.FIELD)
 @DigesterRule(
         reflectsRule = SetPropertiesRule.class,
-        providedBy = SetPropertiesRuleProvider.class
+        providedBy = SetPropertiesRuleProvider.class,
+        handledBy = SetPropertiesLoaderHandler.class
 )
 public @interface SetProperty {