Hi,
I haven't been able to find a way of knowing that the Crankstart Launch has
completed loading bundles, so added [1] which adds a LauncherListener which
reports that number of bundles that started/failed to a registered
listener. In the case of the CrankstartSetup it adds methods to retrieve
these values so that a unit test before method can fail if the Crankstart
failed to start.

Unfortunately it doesn't give any information on when the components have
finished activating, but its better than nothing.

This is quicker than installing the WebConsole and interrogating over http,
or trying to work out what JMX beans are available.

If there is not a better way of doing this, I would like to commit.

wdyt ?

Best Regards
Ian


1
https://github.com/apache/sling/commit/9428edbd8bfad83aae46d267934def51f15d2f36

Reply via email to