Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: OSGi
    • Labels:
      None

      Description

      needing to consider IterableProvider injection.

      Eg.

      @Service
      public class Library {
      @Inject
      private IterableProvider<Book> allBooks;

      public LinkedList<Book> getAllBooks() {
      LinkedList<Book> retVal = new LinkedList<Book>();

      for (Book book : allBooks)

      { retVal.add(book); }

      return retVal;
      }
      }

      From semantic, IterableProvider should be same as obr's "multiple" attribute. Although "multiple" attribute has not any effect on deploying in current obr implementation. However, from OSGi r5 Resolver spec, "multiple" attribute should be implemented , so, we still need to consider it.

      Currently, I will lower the priority of the sub-task.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            TangYong
            Reporter:
            TangYong
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: