AbstractResourceVisitor for traversing resource trees


We often come across features that require traversal of a resource tree (e.g. processing assets in a folder). In such scenarios, recommendation is to use tree traversal than queries. More details of similar scenarios can found on link  Sling provides AbstractResourceVisitor API, which performs traversal through a resource tree, allowing a developer to focus on processing child resources. How to … Continue reading AbstractResourceVisitor for traversing resource trees

Dynamic Path for ResourceChangeListener


As a authoring environment grows, the paths that a ResourceChangeListener should listen to, might become granular/generic. The post shares the steps to make watch paths configurable.