Hi,

I'd like to use BindingsValuesProvider services in my health check
module, to provide bindings like "jmx" for scripted health checks,
which should be ignored for general Sling scripting (or not - some
providers might apply to both general scripting and health checks).

I'm thinking of adding an optional "usage" service property to
BindingsValuesProvider services, does anyone see a problem with that?

The Sling script engine would then consider only
BindingsValuesProvider which have no usage property (for backwards
compatibility) or which have usage=scripting.

And my health checks would consider only BindingsValuesProvider which
have usage=healthcheck.

-Bertrand

Reply via email to