[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1426) Provide injectable BundleContext in JNDI
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu Jul 28 11:08:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617307#comment-12617307 ]
Thomas Diesler edited comment on AS7-1426 at 7/28/11 11:08 AM:
---------------------------------------------------------------
This works and is ready for review
https://github.com/tdiesler/jboss-as/commit/8750bfc6
{code}
@Stateless
@LocalBean
public class SimpleStatelessSessionBean implements Echo {
@Resource(lookup = "java:global/osgi/BundleContext")
private BundleContext context;
{code}
was (Author: thomas.diesler):
This works and is ready for review
https://github.com/tdiesler/jboss-as/commit/8750bf
{code}
@Stateless
@LocalBean
public class SimpleStatelessSessionBean implements Echo {
@Resource(lookup = "java:global/osgi/BundleContext")
private BundleContext context;
{code}
> Provide injectable BundleContext in JNDI
> ----------------------------------------
>
> Key: AS7-1426
> URL: https://issues.jboss.org/browse/AS7-1426
> Project: Application Server 7
> Issue Type: Feature Request
> Components: OSGi
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.1.0.Alpha1
>
>
> The system BundleContext should be available as injectable resource
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list