Hi Bertrand, I think it is fine. I recently used an extender pattern to solve SLING-10135 and it seemed to work pretty well.
Regards, Eric On Fri, Jun 25, 2021 at 2:33 AM Bertrand Delacretaz <bdelacre...@apache.org> wrote: > Hi, > > I'm planning to use that pattern for [1], similar to what we do for > initial content loading, using a BundleTracker [2] to track bundles. > > The use case is multiple bundles providing partial GraphQL schemas as > text file resources to a service that aggregates them. > > It's been a long time since I created a module that uses this > technique, is that still the recommended way of doing such things? > > -Bertrand > > [1] > https://github.com/apache/sling-whiteboard/tree/master/sling-org-apache-sling-graphql-schema > [2] > https://docs.osgi.org/javadoc/r4v42/org/osgi/util/tracker/BundleTracker.html >