felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Paulin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4483) osgi-bundlecontext is not available in init methods
Date Sat, 12 Apr 2014 03:54:16 GMT

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

Bob Paulin updated FELIX-4483:
------------------------------

    Attachment: FELIX-4483.patch

> 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
>    Affects Versions: http.jetty-1.0.1, http.jetty-1.2.0
>            Reporter: Bob Paulin
>            Priority: Minor
>         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