Hi Chetan,

On Fri, Jul 4, 2014 at 9:10 AM, Chetan Mehrotra
<[email protected]> wrote:
> While looking into the Sling OSGi Installer support I was thinking
> that it would be helpful to expose an MBean...

Sounds great - one typical use case that I see, at least in testing,
is to copy N installable resources to the repository and be able to
find out when they are fully processed.

If the MBean only provides state information that might be a bit
tricky so maybe counters of processed and installed resources would
help, so that if you know you're alone in changing things (which is
the case in testing) you can just wait for the right counters to be
incremented by N.

This testing might happen internally to the Sling instance, so if it's
easy to provide the info as a plain OSGi service as well as via an
MBean that would be useful.

-Bertrand

Reply via email to