[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4349) Provide static injection option via @In
jira-events at lists.jboss.org
Tue Aug 11 01:17:29 EDT 2009
Provide static injection option via @In
Issue Type: Feature Request
Affects Versions: 2.2.0.GA
Currently injection in Seam via @In is dynamic only. By dynamic, we mean that the instance variable that is associated with the @In annotation is refreshed with the latest value from the specified context every time a business method is invoked (specifically prior to the invocation).
Request is to add a facility to allow developer to specify static injection only for that particular @In annotation instance. Add an optional element named "type" to @In.
private String foo;
The default type or behavior will be dynamic.
The purpose of this request is to support use case implementations that do not require dynamic injections but merely one-time static injections like Spring DI setter or constructor injections. This will help with performance as well as there will not be unnecessary "refreshing" of the instance variables via dynamic injection in those cases that are not needed.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues