karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3580) FeaturesService expose register and unregister FeaturesListener methods
Date Tue, 03 Mar 2015 20:44:05 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345706#comment-14345706
] 

Guillaume Nodet commented on KARAF-3580:
----------------------------------------

Not sure to understand.
FeatureListener services are already tracked in the OSGi registry.
See https://github.com/apache/karaf/blob/master/features/core/src/main/java/org/apache/karaf/features/internal/osgi/Activator.java#L216-L238

> FeaturesService expose register and unregister FeaturesListener methods
> -----------------------------------------------------------------------
>
>                 Key: KARAF-3580
>                 URL: https://issues.apache.org/jira/browse/KARAF-3580
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>    Affects Versions: 3.0.3
>            Reporter: Jamie goodyear
>             Fix For: 4.0.0, 3.0.4
>
>
> FeaturesListener is provided as a way to add custom behaviours to feature and repository
events. The FeaturesService API however does not provide a way to add these custom listeners.
It would be nice if we could extend the API to include a register and unregister FeaturesListener
call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message