[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1498) inject JBoss service EJB with @In
Dilip Ramji (JIRA)
jira-events at lists.jboss.org
Mon Oct 19 19:16:05 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490436#action_12490436 ]
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
More information about the seam-issues
mailing list