[
https://issues.jboss.org/browse/FORGE-848?page=com.atlassian.jira.plugin....
]
George Gastaldi updated FORGE-848:
----------------------------------
Status: Closed (was: Pull Request Sent)
Fix Version/s: 1.3.1.Final
(was: 1.x Future)
Resolution: Done
Forge should support a @CommandScoped annotation
------------------------------------------------
Key: FORGE-848
URL:
https://issues.jboss.org/browse/FORGE-848
Project: Forge
Issue Type: Feature Request
Components: Container, Plugin API
Reporter: Vineet Reynolds
Assignee: George Gastaldi
Fix For: 1.3.1.Final
Forge should support a {{@CommandScoped}} just like the {{@ProjectScoped}} annotation.
{{@CommandScoped}} objects would have a shorter lifetime since their lifecycle would be
constrained to the execution of a command. This is equivalent to {{@RequestScoped}}
instances, so we could renamed {{@CommandScoped}} to {{@RequestScoped}} if appropriate.
Options passed to the Forge plugins could be made available via this scope. Not a binding
requirement, since ambiguous dependencies could be encountered when injecting into managed
beans.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira