Mapping HK2 annotations(@Service and @Inject) into OBR capability and requirement (GLASSFISH-19395)

[GLASSFISH-20489] needing to consider IterableProvider injection Created: 08/May/13  Updated: 08/May/13

Status: Open
Project: glassfish
Component/s: OSGi
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Minor
Reporter: TangYong Assignee: TangYong
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


needing to consider IterableProvider injection.


public class Library {
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.

Generated at Fri May 29 17:36:02 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.