Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-85

Avoid creating uneeded instance of PropertyShellTableFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5.10, 1.6.1, 1.7.0
    • None
    • jclouds-karaf
    • None

    Description

      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 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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            iocanel Ioannis Canellos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: