-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
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.