[
https://issues.apache.org/jira/browse/FELIX-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-2264.
--------------------------------------
Resolution: Fixed
Implemented this dynamicity in Rev. 931858
> 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.