Hi Reto, On Thu, Oct 27, 2011 at 1:14 AM, Reto Bachmann-Gmür <[email protected]> wrote: > ...I would like to have the Apache Sling Installer bundle to start at an > early start level so that I can configure some services before they > are first started....
That would probably not help, as once the installer is started what it does happens mostly asynchronously - your other bundles could be started before the installer has activated their configurations. There's probably a better way of solving that, for example using service factories so that a service is only instantiated when its configuration becomes available. The RequestLoggerService [1], for example, uses this pattern with ConfigurationPolicy.REQUIRE. Would that fit your use case? -Bertrand [1] http://svn.apache.org/repos/asf/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/RequestLoggerService.java
