You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2011/05/10 10:31:03 UTC

[jira] [Closed] (FELIX-303) Support for compositions

     [ https://issues.apache.org/jira/browse/FELIX-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Offermans closed FELIX-303.
----------------------------------


Part of the 3.0.0 release.

> Support for compositions
> ------------------------
>
>                 Key: FELIX-303
>                 URL: https://issues.apache.org/jira/browse/FELIX-303
>             Project: Felix
>          Issue Type: New Feature
>          Components: Dependency Manager
>    Affects Versions: framework-0.8.0
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>         Attachments: dm-patch.tgz, proxy.patch.txt
>
>
> When creating service implementations out of POJO's, the more complex implementations will often be composed out of several POJO's, using composition instead of inheritance. This means instead of one implementation, you have N implementations. The consequences of this are that for both the callbacks and the injected services, you want to be able to explicitly specify one of more instances, instead of assuming there's only one. The API needs to be extended to support this (basically adding a parameter of type Object[] for some of the methods).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira