Search in sources :

Example 1 with ScriptConversions

use of org.infinispan.scripting.utils.ScriptConversions in project infinispan by infinispan.

the class ScriptingManagerImpl method start.

@Start
public void start() {
    ClassLoader classLoader = globalConfiguration.classLoader();
    this.scriptEngineManager = new ScriptEngineManager(classLoader);
    taskManager.registerTaskEngine(new ScriptingTaskEngine(this));
    scriptConversions = new ScriptConversions(encoderRegistry);
}
Also used : ScriptConversions(org.infinispan.scripting.utils.ScriptConversions) ScriptEngineManager(javax.script.ScriptEngineManager) Start(org.infinispan.factories.annotations.Start)

Aggregations

ScriptEngineManager (javax.script.ScriptEngineManager)1 Start (org.infinispan.factories.annotations.Start)1 ScriptConversions (org.infinispan.scripting.utils.ScriptConversions)1