jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JCLOUDS-85) Avoid creating uneeded instance of PropertyShellTableFactory
Date Sat, 26 Sep 2020 02:32:00 GMT

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

Andrew Gaul closed JCLOUDS-85.
------------------------------
    Resolution: Won't Fix

The Karaf project now maintains the jclouds bindings; please open an issue there.

> Avoid creating uneeded instance of PropertyShellTableFactory
> ------------------------------------------------------------
>
>                 Key: JCLOUDS-85
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-85
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-karaf
>    Affects Versions: 1.5.10, 1.6.1, 1.7.0
>            Reporter: Ioannis Canellos
>            Priority: Major
>
> The story here is that we have 2 versions of the ShellTableFactory:
> i) OSGi aware
> ii) Property based
> Our commands always instantiate (ii) and may replace it with (i) when running inside
OSGi.
> We should make sure that we instantiate (ii) only if no injection takes place (e.g. outside
OSGi)
> This could be as simple as checking if the factory is null inside the doExecute method
and then instantiating (ii).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message