Supporting lists and vectors in the service dependency management
-----------------------------------------------------------------

                 Key: FELIX-683
                 URL: https://issues.apache.org/jira/browse/FELIX-683
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-0.8.0
            Reporter: Clement Escoffier
            Assignee: Clement Escoffier


iPOJO does not yet support the injection of list and vector (containing service 
object) when the service dependency is aggregate. Indeed, only arrays are 
supported. The purpose of this improvement is to provide this support. Then, it 
should be possible for the pojo to get service objects from a list or a vector 
field. The only limitation of this support is the service specification 
detection. iPOJO will not be able to automatically detect the required service 
type (i.e. interface) for a dependency injected inside a list or a vector as 
the type is not contained in the field declaration. So, this force the 
developer to specify the service interface in the metadata ('interface' 
attribute), or to attach bind/unbind method receiving a service object. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to