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

Xander Uiterlinden updated FELIX-3186:
--------------------------------------

    Attachment: adapteronsomethingwithaspecttestpatch.patch
                adapteronsomethingwithaspectpatch.patch

Find the enclosed patch which resolves the issue. It also adds the possibility 
to provide a swap callback method for an adapter service which is called when 
the service the adapter adapts is changed due to an aspect becoming 
(un)available. The modified adapter tests are also included in a separate patch 
file.
                
> Adapter services do not get their adapted services transparently replaced 
> when an aspect is added to them.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3186
>                 URL: https://issues.apache.org/jira/browse/FELIX-3186
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager-3.0.0
>         Environment: mac-osx
>            Reporter: Xander Uiterlinden
>              Labels: bug
>             Fix For: dependencymanager-3.0.0
>
>         Attachments: AspectAdapterTest.java, 
> adapteronsomethingwithaspectpatch.patch, 
> adapteronsomethingwithaspecttestpatch.patch
>
>
> A service consumer consumes an adapter service. The adapter service adapts a 
> service provider.
> An aspect is added to the service provider. This should not impact the 
> service consumer.
> Expected behavior is transparent replacement of the service the adapter 
> adapts with the aspect service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to