commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r898265 - /commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/SetProperty.java
Date Tue, 12 Jan 2010 09:10:03 GMT
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 {
 



Mime
View raw message