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 2013/10/09 18:58:42 UTC

[jira] [Commented] (FELIX-3931) Provide a handler to inject the bundle context

    [ https://issues.apache.org/jira/browse/FELIX-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790611#comment-13790611 ] 

Clement Escoffier commented on FELIX-3931:
------------------------------------------

* The new handler must have a high priority (low start level).
* Field Injector are not necessary required in this handler as there are no dynamics, reflection in the onInstanceCreation method would make the job.
* Injection possible in the constructor, field or method
* Conflicts the the current bundle context injection should be investigated

> Provide a handler to inject the bundle context
> ----------------------------------------------
>
>                 Key: FELIX-3931
>                 URL: https://issues.apache.org/jira/browse/FELIX-3931
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>            Reporter: Clement Escoffier
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.11.1, ipojo-runtime-1.11.1
>
>
> Provide a handler to inject the bundle context:
> - as a field injection
> - as a constructor injection
> The handler can inject 3 bundle context:
> - the bundle context of the bundle containing the implementation
> - the bundle context of the bundle declaring the instance
> - for handlers, the bundle context of the bundle containing the handler implementation



--
This message was sent by Atlassian JIRA
(v6.1#6144)