[
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