Script Console plugin code is at [1] which you can have a look. In brief the bundle looks for other bundles having file /META-INF/services/javax.script.ScriptEngineFactory and then keep a registry of supported script engines. The webconsole plugin then looks up the write engine implementation based in input params and then evaluates the script
Chetan Mehrotra [1] https://github.com/apache/felix/tree/trunk/webconsole-plugins/script-console/src/main/java/org/apache/felix/webconsole/plugins/scriptconsole/internal On Tue, Oct 13, 2015 at 2:26 PM, KingSaladin <[email protected]> wrote: > > Ok great ! > > Thank you all for your replies i could finally get the console installed and > tested. > I have though few questions regarding multi-scripting support as far as > Felix core module is concerned, i mean i want to know how it is implemented > inside Felix to support many script engines? where to start ? what package > or main class should i discover to get a better overview about the topic? > > Regards > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/Unable-to-deploy-and-test-Apache-Felix-Web-Console-Script-Console-Plugin-tp5014964p5015136.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

