All Methods Instance Methods Concrete Methods Deprecated Methods
| Modifier and Type |
Method and Description |
OPartitionedObjectPool.PoolEntry<ScriptEngine> |
acquireDatabaseEngine(String databaseName,
String language)
Acquires a database engine from the pool.
|
Bindings |
bind(Bindings binding,
ODatabaseDocumentTx db,
OCommandContext iContext,
Map<Object,Object> iArgs) |
void |
close(String iDatabaseName)
Closes the pool for a database.
|
boolean |
existsEngine(String iLanguage) |
ScriptEngine |
getEngine(String iLanguage) |
Map<String,OScriptFormatter> |
getFormatters()
Ask to the Script engine all the formatters
|
String |
getFunctionDefinition(OFunction iFunction) |
String |
getFunctionInvoke(OFunction iFunction,
Object[] iArgs) |
List<OScriptInjection> |
getInjections() |
String |
getLibrary(ODatabase<?> db,
String iLanguage)
Formats the library of functions for a language.
|
Iterable<String> |
getSupportedLanguages() |
OScriptManager |
registerEngine(String iLanguage,
ScriptEngineFactory iEngine) |
OScriptManager |
registerFormatter(String iLanguage,
OScriptFormatter iFormatterImpl) |
void |
registerInjection(OScriptInjection iInj) |
void |
releaseDatabaseEngine(String iLanguage,
String iDatabaseName,
OPartitionedObjectPool.PoolEntry<ScriptEngine> poolEntry)
Acquires a database engine from the pool.
|
String |
throwErrorMessage(ScriptException e,
String lib) |
void |
unbind(Bindings binding)
Deprecated.
|
void |
unbind(Bindings binding,
OCommandContext iContext,
Map<Object,Object> iArgs)
Unbinds variables
|
void |
unregisterInjection(OScriptInjection iInj) |