[
https://issues.apache.org/jira/browse/FELIX-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092756#comment-15092756
]
Pierre De Rop commented on FELIX-5164:
--------------------------------------
Commited patch in revision 1724136: the following method has been added in the
DependencyManager class:
{code}
public Component createAspectService(Class<?> serviceInterface, String
serviceFilter, int ranking, Object callbackInstance,
String add, String change, String remove, String swap);
{code}
A test case has also been added in
org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/AspectWithCallbacksServiceDependencyTest.java
> Add support for callback instance in Aspects
> --------------------------------------------
>
> Key: FELIX-5164
> URL: https://issues.apache.org/jira/browse/FELIX-5164
> Project: Felix
> Issue Type: Improvement
> Components: Dependency Manager
> Affects Versions: dependencymanager-3.2.0
> Reporter: Pierre De Rop
> Assignee: Pierre De Rop
> Fix For: org.apache.felix.dependencymanager-r7
>
>
> In the context of the new dependencymanager-lambda library, we need to be
> able to specify an external callback instance for DM aspects (the same kind
> of callback instances that are already supported by DM adapters).
> The intent of this issue is to add support for such external callback
> instance when using aspects; so a new method in DependencyManager interface
> should be added take takes in parameter such callback instance. The callback
> instance, if specified, will be invoked with "add/change/remove/swap"
> callbacks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)