felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2264) Allow for lazy loading and late API binding
Date Thu, 08 Apr 2010 10:36:36 GMT
Allow for lazy loading and late API binding

                 Key: FELIX-2264
                 URL: https://issues.apache.org/jira/browse/FELIX-2264
             Project: Felix
          Issue Type: Improvement
          Components: Web Console
    Affects Versions:  webconsole-memoryusage-plugin-1.0.0 
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-memoryusage-plugin-1.0.2

It would be good if the memory usage plugin would register the services as service factories
and lazily bind to required API. This would allow for on-demand access to services.

For example: in the current plugin release, the shell command service may only be registered
if the Shell bundle is installed. If the shell bundle is installed after the memory usage
plugin, the memory usage plugin has to be rewired to register the shell command. Using a ServiceFactory
and DynamicImport-Package for the Shell API, the service can be registered but actual command
service instantiation and wiring to the service API is delayed until the Shell bundle is installed.

Same for the Web Console integration and configuration by the configuration admin.

In addition the dependency on the SLF4J API for logging should be replaced by using the OSGi
LogService -- of course also with delayed and dynamic binding.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message