felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4483) osgi-bundlecontext is not available in init methods
Date Fri, 13 Jun 2014 09:27:02 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

J.W. Janssen updated FELIX-4483:
--------------------------------

    Fix Version/s: http-2.3.0

> osgi-bundlecontext is not available in init methods
> ---------------------------------------------------
>
>                 Key: FELIX-4483
>                 URL: https://issues.apache.org/jira/browse/FELIX-4483
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>            Reporter: Bob Paulin
>            Priority: Minor
>             Fix For: http-2.3.0
>
>         Attachments: FELIX-4483.patch
>
>
> This current ordering in the JettyService#doExecute method does not allow the osgi-bundlecontext
to be available in Servlet and Filter init classes:
> 1) Get Bundle
> 2) Start WebAppBundleContext
> 3) Create Service Properties
> 4) Register Service
> 5) Set osgi-bundlecontext Servlet Context
> Propose changing it to the following order to allow for the context to be used:
> 1) Get Bundle
> *2) Set osgi-bundlecontext Servlet Context*
> 3) Start WebAppBundleContext
> 4) Create Service Properties
> 5) Register Service it in the



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message