felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4842) CONTEXT.Source.INSTANCE cannot work
Date Fri, 03 Apr 2015 05:51:52 GMT

    [ 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)

Mime
View raw message