On Wed, Aug 14, 2013 at 12:36 PM, Carsten Ziegeler <cziege...@apache.org> wrote: > ...I don't see any use case where it's not possible to have a service > reference - and tools could just query the mbeans as an alternative...
Going via MBeans complicates things, and HC MBeans are optional anyway, they're only active if the org.apache.sling.hc.jmx bundle is active. But I agree with you that it should be possible to have a service reference in all cases where you need the HC service properties, so feel free to do the changes as you suggest. To check that you didn't break anything, the full build of contrib/extensions/healthcheck should work, and both the webconsole and JMX access should show all health checks as now, including their name MBean name where useful and tags. -Bertrand