I'm not sure if I understand this 100% - from a scripting pov, how could I
set the usage value, let's say in a JSP (or any other script)?

Carsten


2013/8/6 Bertrand Delacretaz <[email protected]>

> 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
>



-- 
Carsten Ziegeler
[email protected]

Reply via email to