Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-876

Specification auto import is not supported for simple component types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • iPOJO-1.0.0
    • iPOJO-1.2.0
    • iPOJO
    • None
    • JOnAS 5.1

    Description

      'specification' attributes denotes an interface that needs to be imported (at least its package) in order to allow iPOJO to load the interface.

      When you're writing components based on abstract classes, sometimes you ends up with declaring service dependencies for the component that, in fact, belongs to the super class.
      If the package used for the dependency's specification is never used in your bundle (containing the concrete class), then you have to manually add an Import-Package.

      This is error prone.
      iPOJO could check the packages of specifications and auto generate Import-Package for them (if required), just like what's already done for composite components.

      Attachments

        Activity

          People

            clement.escoffier Clement Escoffier
            sauthieg Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: