public interface KnowledgeRuntime extends WorkingMemory, ProcessRuntime, KnowledgeRuntimeEventManager
| Modifier and Type | Method and Description |
|---|---|
Calendars |
getCalendars() |
Map<String,Channel> |
getChannels() |
Environment |
getEnvironment() |
Object |
getGlobal(String identifier) |
Globals |
getGlobals() |
KnowledgeBase |
getKnowledgeBase()
Returns the KnowledgeBase reference from which this stateful session was created.
|
<T extends SessionClock> |
getSessionClock()
Returns the session clock instance assigned to this session
|
KnowledgeSessionConfiguration |
getSessionConfiguration() |
void |
registerChannel(String name,
Channel channel) |
void |
registerExitPoint(String name,
ExitPoint exitPoint)
Deprecated.
Use
registerChannel(String, Channel) instead. |
void |
setGlobal(String identifier,
Object value)
Sets a global value on the internal collection
|
void |
unregisterChannel(String name) |
void |
unregisterExitPoint(String name)
Deprecated.
Use
unregisterChannel(String) instead. |
getAgenda, getQueryResults, getWorkingMemoryEntryPoint, getWorkingMemoryEntryPoints, halt, openLiveQuerygetEntryPointId, getFactCount, getFactHandle, getFactHandles, getFactHandles, getObject, getObjects, getObjects, insert, retract, updateabortProcessInstance, createProcessInstance, getProcessInstance, getProcessInstance, getProcessInstances, getWorkItemManager, signalEvent, signalEvent, startProcess, startProcess, startProcessInstanceaddEventListener, addEventListener, getAgendaEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListeneraddEventListener, getProcessEventListeners, removeEventListener<T extends SessionClock> T getSessionClock()
void setGlobal(String identifier, Object value)
identifier - the global identifiervalue - the value assigned to the global identifierGlobals getGlobals()
Calendars getCalendars()
Environment getEnvironment()
KnowledgeBase getKnowledgeBase()
@Deprecated void registerExitPoint(String name, ExitPoint exitPoint)
registerChannel(String, Channel) instead.@Deprecated void unregisterExitPoint(String name)
unregisterChannel(String) instead.void unregisterChannel(String name)
KnowledgeSessionConfiguration getSessionConfiguration()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.