[
https://jira.jboss.org/jira/browse/JBSEAM-1498?page=com.atlassian.jira.pl...
]
Dilip Ramji commented on JBSEAM-1498:
-------------------------------------
Sorry, the previous comment was meant to go onto JBSEAM-4339 but somehow ended up on this
one instead. I've added my comment to that issue.
inject JBoss service EJB with @In
---------------------------------
Key: JBSEAM-1498
URL:
https://jira.jboss.org/jira/browse/JBSEAM-1498
Project: Seam
Issue Type: Feature Request
Components: EJB3
Reporter: koen handekyn
Assignee: Norman Richards
Priority: Minor
Fix For: 2.0.1.CR1
to inject a Service EJB into a seam component, for consistency it would certainly be very
nice to be able to inject it within SEAM with @In and optionally adding an @Name attribute
to the service class. it would be more consistent and shorter than the standard jboss
approach (below)
private GlobalConfigurationMBean globalConfiguration;
@Depends ("upr:service=globalConfiguration")
public void setGlobalConfiguration(final GlobalConfigurationMBean globalConfiguration)
{
this.globalConfiguration = globalConfiguration;
}
--
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