[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-265) Inject via method parameters
Christian Bauer (JIRA)
jira-events at lists.jboss.org
Thu Mar 29 00:40:57 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-265?page=comments#action_12357731 ]
Christian Bauer commented on JBSEAM-265:
----------------------------------------
You can already do this:
public void init() {
ComponentTwo componentTwo = (ComponentTwo)Component.getInstance("componentUsedOnlyToCreate");
}
> Inject via method parameters
> ----------------------------
>
> Key: JBSEAM-265
> URL: http://jira.jboss.com/jira/browse/JBSEAM-265
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Reporter: Gavin King
> Assigned To: Gavin King
>
> public void login(@In("user") User user) {
> ...
> }
> is ugly, but we should support it anyway.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list