You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2015/04/03 07:51:52 UTC
[jira] [Commented] (FELIX-4842) CONTEXT.Source.INSTANCE cannot work
[ https://issues.apache.org/jira/browse/FELIX-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394102#comment-14394102 ]
Clement Escoffier commented on FELIX-4842:
------------------------------------------
How is the instance created ?
Context source does only work for instance declared from XML, @Instantiate and @Configuration.
If you create the instance using the API or the configuration admin, they are no way to retrieve the bundle creating the instance.
> CONTEXT.Source.INSTANCE cannot work
> -----------------------------------
>
> Key: FELIX-4842
> URL: https://issues.apache.org/jira/browse/FELIX-4842
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: ipojo-runtime-1.12.1
> Reporter: armroe
>
> CONTEXT.Source.INSTANCE annotation cannot work. BundleContext cannot be injected and always null.
> there is no problem with CONTEXT.Source.COMPONENT.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)