You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/08/26 03:27:31 UTC
[jira] Commented: (SHALE-264) Improve resource injection
functionality in Tiger Extensions
[ http://issues.apache.org/struts/browse/SHALE-264?page=comments#action_38032 ]
Craig McClanahan commented on SHALE-264:
----------------------------------------
The machinery should also support looking for annotations (at the class, field, and method level) in superclasses as well as in the specified class itself.
> Improve resource injection functionality in Tiger Extensions
> ------------------------------------------------------------
>
> Key: SHALE-264
> URL: http://issues.apache.org/struts/browse/SHALE-264
> Project: Shale
> Issue Type: Improvement
> Components: Tiger
> Reporter: Craig McClanahan
>
> The Tiger Extensions use annotations to perform various kinds of resource injection and callbacks to marked methods. Currently, injection requires that there be a public property setter, and callback methods must all be public. This functionality should operate more compatibly with the way injection works in a Java EE 5 container, in at least the following respects:
> * Should be able to inject a private field value (subject to SecurityManager permissions allowing this)
> if the field itself is annotated
> * Should call the setter method (which should not have to be public) if the setter is annotated.
> * Lifecycle callback methods should be allowed to have any scope (subject to SecurityManager
> permissions), not just public.
--
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