Interface RuntimeSession

All Superinterfaces:
CommandExecutor
All Known Subinterfaces:
KieRuntime, KieSession, StatelessKieSession

public interface RuntimeSession extends CommandExecutor
  • Method Details

    • getGlobals

      Globals getGlobals()
      Returns:
      the Globals store
    • setGlobal

      void setGlobal(String identifier, Object value)
      Sets a global value on the globals store
      Parameters:
      identifier - the global identifier
      value - the value assigned to the global identifier
    • registerChannel

      void registerChannel(String name, Channel channel)
      Registers a channel with the given name
      Parameters:
      name - the name of the channel
      channel - the channel instance. It has to be thread safe.
    • unregisterChannel

      void unregisterChannel(String name)
      Unregisters the channel with the given name
      Parameters:
      name -
    • getChannels

      Map<String,Channel> getChannels()
      Returns:
      a map with all registered channels.
    • getKieBase

      KieBase getKieBase()
      Returns:
      the KieBase reference from which this stateless session was created.