public StatefulProcessSession(KnowledgeBase kbase, KnowledgeSessionConfiguration sessionConfiguration, Environment environment) {
this.kbase = kbase;
this.sessionConfiguration = sessionConfiguration;
this.environment = environment;
timerService = TimerServiceFactory.getTimerService((SessionConfiguration) sessionConfiguration);
processRuntime = new ProcessRuntimeImpl(this);
actionQueue = new LinkedList<WorkingMemoryAction>();
}