Felix Meschberger wrote:
Invocable is an interface, which is generally implemented by a
ScriptEngine, so adapting a Script to Invocable is comparable to adapt
it to a ScriptEngine and I would not do that.
Yes, adapting to ScriptEngine is not a good idea, that's why I thought
of just allowing Invocable :)
But your suggestion from below seems better and does not require any
dependency from our api to javax.script and does not require to use
javax.script when calling the method.
I've added SLING-320 for this and I'm trying to implement it today :)
Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]