The @Value annotation should be allowed on getter/setter methods in addition to 
fields
--------------------------------------------------------------------------------------

         Key: SHALE-202
         URL: http://issues.apache.org/struts/browse/SHALE-202
     Project: Shale
        Type: Improvement

  Components: Tiger  
    Reporter: Craig McClanahan


Resolution of SHALE-185 goes part way towards improving the general usability 
of @Property (nee @Value).  However, it would also be better to allow use of 
this annotation on a JavaBeans setter or getter method too (where the default 
property name was derived from the method name, but could still be overridden 
by the "name" attribute on the annotation).  This would be more consistent with 
the annotations defined by things like the Java Persistence Architecture, where 
you can define such annotations on either place.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to