[
https://issues.apache.org/jira/browse/FELIX-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clement Escoffier resolved FELIX-4646.
--------------------------------------
Resolution: Fixed
Fix Version/s: ipojo-runtime-1.12.1
> @Context(Context.Source.INSTANCE) does not inject bundle context
> ----------------------------------------------------------------
>
> Key: FELIX-4646
> URL: https://issues.apache.org/jira/browse/FELIX-4646
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: ipojo-runtime-1.12.0
> Environment: JAVA 1.8
> Reporter: Pierrick
> Assignee: Clement Escoffier
> Priority: Blocker
> Fix For: ipojo-runtime-1.12.1
>
>
> I would like to use the bundle context for each instanciate of my bundle with
> this code :
> @Context(Context.Source.INSTANCE)
> private BundleContext _context;
> But the context return is null.
> If I use Context.Source.COMPONENT for the context definition, the context
> field is injected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)