You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Dominik Przybysz (Jira)" <ji...@apache.org> on 2026/10/03 20:22:00 UTC
[jira] [Closed] (ARIES-440) Improve the behaviour of OSGi in keeping with the OSGi way
[ https://issues.apache.org/jira/browse/ARIES-440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominik Przybysz closed ARIES-440.
----------------------------------
Closing issues of released artifacts
> Improve the behaviour of OSGi in keeping with the OSGi way
> ----------------------------------------------------------
>
> Key: ARIES-440
> URL: https://issues.apache.org/jira/browse/ARIES-440
> Project: Aries
> Issue Type: Improvement
> Components: JNDI
> Affects Versions: 0.2
> Reporter: Alasdair Nottingham
> Assignee: Alasdair Nottingham
> Priority: Major
> Fix For: 0.3
>
>
> There are a few issuets with the way the JNDI core works. These are:
> 1. The core does the following:
> i) Find an ICF service
> ii) Get ICF
> iii) Create a Context
> iv) release ICF service
> v) return Context
> This means that the ICF cannot manage the lifecycle because it doesn't know when the context is finished with. We should only release the service when the context has been closed.
> 2. We do a lot of queries, which is kind of expensive. If we used a service tracker we could remove all the queries and it would be more efficient and perform some amount better.
> 3. Got some things wrong on ARIES-417. e.g.
> i) The uber bundle didn't export the package for the URLObjectFactoryFinder
> ii) The URLObjectFactoryFinder doesn't get the environment, so it can't do things based on the JNDI environment, this is bad.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)