[jboss-jira] [JBoss JIRA] Commented: (AS7-1426) Provide injectable BundleContext in JNDI

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jul 28 11:12:23 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617309#comment-12617309 ] 

Thomas Diesler commented on AS7-1426:
-------------------------------------

What do I need to do to get 

{code}
@Stateless
@LocalBean
public class SimpleStatelessSessionBean implements Echo {

    @Resource
    private BundleContext context;
{code}

to work (i.e. lookup by type). 

> 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