Package org.openl.runtime
Interface IEngineWrapper
-
- All Known Implementing Classes:
OpenLMethodHandler
public interface IEngineWrapper
- Author:
- snshor IEngineWrapper provides a lightweight wrapper around Engine instance that implements interface T. One
instance of wrapper should be used for a single-threaded execution of the engine. Engine wrappers are
produced by
AEngineFactory.newInstance()
method
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getInstance()
Instance of engine object (usuallyDynamicObject
)IRuntimeEnv
getRuntimeEnv()
void
release()
Clears thread attached data.
-
-
-
Method Detail
-
getInstance
Object getInstance()
Instance of engine object (usuallyDynamicObject
)- Returns:
-
getRuntimeEnv
IRuntimeEnv getRuntimeEnv()
- Returns:
- Runtime Environment that is necessary to execute OpenL code. One instance of
IRuntimeEnv
works only in single-threaded mode.
-
release
void release()
Clears thread attached data.
-
-