[
https://issues.apache.org/jira/browse/SLING-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963199#comment-14963199
]
Tomek Rękawek commented on SLING-5169:
--------------------------------------
Thanks for the +1s. I'll apply the patch after merging the changes from
SLING-5162 (as in the current trunk the ResourceChangeListener is not picked up
by anything).
> Deprecate OSGi events for Sling resource changes
> ------------------------------------------------
>
> Key: SLING-5169
> URL: https://issues.apache.org/jira/browse/SLING-5169
> Project: Sling
> Issue Type: Sub-task
> Components: API
> Reporter: Tomek Rękawek
> Fix For: API 2.10.0
>
> Attachments: SLING-5169.patch
>
>
> With the new observation support (see parent SLING-4751) we'll have more
> robust way to get events regarding resource changes. Support for the old,
> OSGi-type events is provided by the {{OsgiObservationBridge}} service. We
> should deprecate the OSGi topic events {{SlingConstants.TOPIC_RESOURCE_*}},
> so developers are aware about the new {{ResourceChangeListener}} service and
> will switch to it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)