[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1498) inject JBoss service EJB with @In
Norman Richards (JIRA)
jira-events at lists.jboss.org
Wed Dec 5 17:46:51 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1498?page=all ]
Norman Richards closed JBSEAM-1498.
-----------------------------------
Resolution: Done
You can put @Name on an @Service bean now.
I'm going to hold off on any other JMX-related functionality for now. We can use the JBoss MBean proxy to provide a typed wrapper to an MBean, but the more I think about it, I'm not really sure that's something Seam should be doing. And, if it is, we should probably also provide a similar mechanism for pulling things out of JNDI. I'm going to wait until we get some user requests for those features before investing too much into them.
> inject JBoss service EJB with @In
> ---------------------------------
>
> Key: JBSEAM-1498
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1498
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: EJB3
> Reporter: koen handekyn
> Assigned To: Norman Richards
> Priority: Minor
> Fix For: 2.0.1.GA
>
>
> 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: 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