← Prev in month
← Prev in thread
Next in thread →
Next in month →
NEW ISSUE: Representation of references with multiplicity > 1 on Component Context API
Title: NEW ISSUE: Representation of references with multiplicity > 1 on Component Context API TARGET: Java Common Annotations and APIs specification, section "Java API" / "Component Context" DESCRIPTION: Service Component references may be of multiplicity greater 1. While the @Reference annotation considers that case and supports injection of a collection of service references, the ComponentContext API does not support retrieval of a collection of service references. PROPOSAL: Add the following methods to the ComponentContext API: <B> List<B> getServices(Class<B> businessInterface, String referenceName); (returns a list of typed service proxies for a business interface type and a reference name) <B> List<ServiceReference<B>> getServiceReferences(Class<B> businessInterface, String referenceName); (returns a list typed service reference for a business interface type and a reference name)
← Prev in month
← Prev in thread
Next in thread →
Next in month →