Package org.kie.api.runtime
Interface RuntimeSession
- All Superinterfaces:
CommandExecutor
- All Known Subinterfaces:
KieRuntime,KieSession,StatelessKieSession
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterChannel(String name, Channel channel) Registers a channel with the given namevoidSets a global value on the globals storevoidunregisterChannel(String name) Unregisters the channel with the given nameMethods inherited from interface org.kie.api.runtime.CommandExecutor
execute
-
Method Details
-
getGlobals
Globals getGlobals()- Returns:
- the Globals store
-
setGlobal
Sets a global value on the globals store- Parameters:
identifier- the global identifiervalue- the value assigned to the global identifier
-
registerChannel
Registers a channel with the given name- Parameters:
name- the name of the channelchannel- the channel instance. It has to be thread safe.
-
unregisterChannel
Unregisters the channel with the given name- Parameters:
name-
-
getChannels
- Returns:
- a map with all registered channels.
-
getKieBase
KieBase getKieBase()- Returns:
- the KieBase reference from which this stateless session was created.
-