public class ExecutionContextImpl extends AbstractExecutionContext
ExecutionContext.| Constructor and Description | 
|---|
| ExecutionContextImpl(Context context,
                    ModelProvider modelProvider)Creates new instance of  ExecutionContextImpl. | 
| ExecutionContextImpl(Context context,
                    ModelProvider modelProvider,
                    InterpreterStackTrace stackTrace)Creates new instance of  ExecutionContextImpl. | 
| ExecutionContextImpl(ModelProvider modelProvider,
                    ModelInstance modelInstance,
                    Namespace namespace)Creates new instance of  ExecutionContextImpl. | 
| ExecutionContextImpl(ModelProvider modelProvider,
                    ModelInstance modelInstance,
                    Namespace namespace,
                    InterpreterStackTrace stackTrace)Creates new instance of  ExecutionContextImpl. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addExecutionTrace(ExecutionTrace et)Adds ExecutionTrace to the context. | 
| void | addExecutionTraceElement(ExecutionTraceElement ete)Adds ExecutionTraceElement to the context. | 
| void | addSignal(java.lang.Object signal)Adds a signal to the signal queue. | 
| static Namespace | createNamespace(ModelProvider modelProvider,
               Context context)Creates namespace of correct type for a context. | 
| void | flushAll()Flush of all sessions (core, org, human,... | 
| void | flushPlugins()Flush of sessions for all plugins (core, human, org,...) | 
| CompiledContext | getCompiled()Returns compiled context. | 
| CompiledContext | getCompiled(java.lang.String moduleName)Returns compiled context of the module | 
| ComponentService | getComponentService()Returns component service | 
| long | getContextId()Returns the context id. | 
| RuntimeToPersistentConverter | getConverter()Returns converter. | 
| java.lang.String | getEvaluationLevel()Returns evaluation level. | 
| ExecutionTrace | getExecutionTrace() | 
| Handle | getHandle(ValueHolder valueHolder)Returns a serializable handle for the given value-holder. | 
| com.whitestein.lsps.model.ContextModelElement | getModelElement()Returns the corresponding context model element. | 
| ModelInstance | getModelInstance()Returns the model instance. | 
| ModelProvider | getModelProvider()Returns the provided model provider | 
| Namespace | getNamespace()Returns namespace associated with this context. | 
| protected NamespaceModel | getNamespaceModel()Returns namespace model for this context. | 
| ExecutionContext | getParentContext()Returns the parent execution context or null if it does not exist. | 
| java.lang.String | getPath()Returns the full path to this context as a string. | 
| QID | getPathQID()Returns the full path to this context as a QID. | 
| ProcessInstance | getProcessInstance()Returns the process instance. | 
| com.whitestein.lsps.model.ProcessModel | getProcessModel()Returns the process model. | 
| java.lang.String | getProcessPath()Returns the full path to model element that is bound to this context. | 
| QID | getProcessPathQID()Returns the full path to model element that is bound to this context. | 
| ValueHolder | getValueHolder(Handle handle)Returns a value-holder for the given handle. | 
| static ExecutionContextImpl | modelContext(Module model,
            ModelInstanceType modelInstanceType,
            ModelProvider modelProvider)Returns an execution context for the given model. | 
| void | setCompiled(CompiledContext compiledContext)Sets compiled context. | 
getStackTrace, getStackTraceInfo, getVariableValue, getVariableValue, resolveVariableNamespace, resolveVariableNamespace, setVariableValue, setVariableValue, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInLevelpublic ExecutionContextImpl(ModelProvider modelProvider, ModelInstance modelInstance, Namespace namespace)
ExecutionContextImpl.modelProvider - modelInstance - namespace - public ExecutionContextImpl(ModelProvider modelProvider, ModelInstance modelInstance, Namespace namespace, InterpreterStackTrace stackTrace)
ExecutionContextImpl.modelProvider - modelInstance - namespace - stackTrace - public ExecutionContextImpl(Context context, ModelProvider modelProvider)
ExecutionContextImpl.context - modelProvider - java.lang.NullPointerException - if context or modelProvider is nullpublic ExecutionContextImpl(Context context, ModelProvider modelProvider, InterpreterStackTrace stackTrace)
ExecutionContextImpl.context - modelProvider - stackTrace - java.lang.NullPointerException - if context or modelProvider is nullpublic static Namespace createNamespace(ModelProvider modelProvider, Context context)
modelProvider - context - public static ExecutionContextImpl modelContext(Module model, ModelInstanceType modelInstanceType, ModelProvider modelProvider)
model - modelInstanceType - modelProvider - public Namespace getNamespace()
ExecutionContextpublic ModelProvider getModelProvider()
public RuntimeToPersistentConverter getConverter()
ExecutionContextprotected NamespaceModel getNamespaceModel()
AbstractExecutionContextgetNamespaceModel in class AbstractExecutionContextpublic void addSignal(java.lang.Object signal)
ExecutionContextpublic com.whitestein.lsps.model.ProcessModel getProcessModel()
ExecutionContextpublic ModelInstance getModelInstance()
ExecutionContextpublic ProcessInstance getProcessInstance()
ExecutionContextpublic long getContextId()
ExecutionContextpublic java.lang.String getEvaluationLevel()
public com.whitestein.lsps.model.ContextModelElement getModelElement()
ExecutionContextpublic ExecutionContext getParentContext()
ExecutionContextpublic Handle getHandle(ValueHolder valueHolder)
HandleResolverHandleResolver.getValueHolder(Handle).valueHolder - the value-holderpublic ValueHolder getValueHolder(Handle handle)
HandleResolverhandle - the handlepublic QID getPathQID()
ExecutionContextpublic java.lang.String getPath()
ExecutionContextpublic QID getProcessPathQID()
ExecutionContextpublic java.lang.String getProcessPath()
ExecutionContextpublic void flushAll()
public void addExecutionTraceElement(ExecutionTraceElement ete)
TraceableExecutionExecutionTrace and
 ExecutionTraceElement.ete - ExecutionTraceElement to be added.public void addExecutionTrace(ExecutionTrace et)
TraceableExecutionExecutionTrace and
 ExecutionTraceElement.et - ExecutionTrace to be added.public ExecutionTrace getExecutionTrace()
ExecutionTrace and
         ExecutionTraceElement.public ComponentService getComponentService()
ExecutionContextpublic void flushPlugins()
public CompiledContext getCompiled()
ExecutionContextpublic void setCompiled(CompiledContext compiledContext)
ExecutionContextpublic CompiledContext getCompiled(java.lang.String moduleName)
ExecutionContextCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.