felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjun Panday (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-303) Support for compositions
Date Wed, 09 Sep 2009 15:24:58 GMT

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

Arjun Panday updated FELIX-303:
-------------------------------

    Attachment: dm-patch.tgz

My suggestion for supporting callbacks on compositions.

> 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: felix-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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message