On Fri, Jan 23, 2015 at 1:59 PM, Oliver Lietz <apa...@oliverlietz.de> wrote:

> > Whatever the approach is, if we want to allow multiple scripting engines
> to
> > use the same extension we need to refactor the code from the
> > SlingScriptEngineManager.
>
> Why? The ScriptEngine itself can decide if it kicks in for a script based
> on
> the paths patterns.



Because currently the script engines are just template processors. The
SlingServletResolver is the component that maps a request to the script
engine that will provide the output, with the help of the
SlingScriptAdapterFactory and the SlingScriptEngineManager.

Reply via email to