[jboss-jira] [JBoss JIRA] (AS7-5214) BundleContext not properly injected for non ARQ deployments

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jul 19 03:08:07 EDT 2012


Thomas Diesler created AS7-5214:
-----------------------------------

             Summary: BundleContext not properly injected for non ARQ deployments
                 Key: AS7-5214
                 URL: https://issues.jboss.org/browse/AS7-5214
             Project: Application Server 7
          Issue Type: Bug
          Components: OSGi, Test Suite
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: 7.2.0.Alpha1


Currently there is a processing step in the arquillian-service that scans the deployment for @Inject fields of type org.osgi.framework. If found, it activates the Framework.

This approach is flawed because it only works for deployments that come in through ARQ. 

{code}
@Inject
BundleContext
{code}

should work for other deployment paths too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list