*/
public ScenarioRunner(String xml,
RuleBase ruleBase) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
this.scenario = ScenarioXMLPersistence.getInstance().unmarshal(xml);
SessionConfiguration sessionConfiguration = new SessionConfiguration();
sessionConfiguration.setClockType(ClockType.PSEUDO_CLOCK);
this.workingMemory = (InternalWorkingMemory) ruleBase.newStatefulSession(sessionConfiguration,
null);
ClassLoader classLoader = ((InternalRuleBase) ruleBase).getRootClassLoader();