public class ClojureScriptEngineService extends Object implements ScriptEngineService
ScriptEngineService.ScriptEngine, ScriptEngineService.WorkerRunnable
RESOURCE_NAME
Constructor and Description |
---|
ClojureScriptEngineService() |
Modifier and Type | Method and Description |
---|---|
List<? extends Instrumenter> |
createInstrumenters()
Initialises script engine instrumentation.
|
ScriptEngineService.ScriptEngine |
createScriptEngine(ScriptLocation script)
If the script engine service can handle the given script, it should return
a suitable implementation.
|
public ScriptEngineService.ScriptEngine createScriptEngine(ScriptLocation script) throws EngineException
Implementations typically will execute the script and perform any process level initialisation.
createScriptEngine
in interface ScriptEngineService
script
- The script.null
.EngineException
- If an implementation could not be created.public List<? extends Instrumenter> createInstrumenters() throws EngineException
Each script engine can provide instrumenters, irrespective of the engine used to execute the script. The instrumenters provided by each engine are consulted according to service registration order in the META-INF file.
createInstrumenters
in interface ScriptEngineService
EngineException
- If a problem occurred creating instrumenters.Copyright © 2000-2014. All Rights Reserved.