public class ExecutableService extends Object
executable
service exposed to the executable. The
name is set according to Executable.getExecutableServiceName()
.Executable
Constructor and Description |
---|
ExecutableService(ExecutionContext executionContext,
LanguageManager languageManager,
ParserManager parserManager,
Object container)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContainer()
The container.
|
ExecutionContext |
getContext()
This is the
ExecutionContext used by the document. |
Object |
getGlobal(String name,
Object defaultValue)
Gets a value global to the current VM, atomically setting it to a default
value if it doesn't exist.
|
ConcurrentMap<String,Object> |
getGlobals()
A map of all values global to the current VM.
|
LanguageManager |
getLanguageManager()
The language manager used to parse, prepare and execute the executable.
|
ParserManager |
getParserManager()
The parser manager used to parse the executable.
|
public ExecutableService(ExecutionContext executionContext, LanguageManager languageManager, ParserManager parserManager, Object container)
executionContext
- The execution contextlanguageManager
- The language manager used to parse, prepare and execute the
executableparserManager
- The parser manager used to parse the executablecontainer
- The container or nullpublic ExecutionContext getContext()
ExecutionContext
used by the document. Scriptlets may
use it to get access to the Writer
objects used for standard
output and standard error.public LanguageManager getLanguageManager()
public ParserManager getParserManager()
public Object getContainer()
public ConcurrentMap<String,Object> getGlobals()
Copyright © 2009-2015 Three Crickets LLC.