public StatelessKnowledgeSessionImpl(final InternalRuleBase ruleBase,
final KnowledgeAgent kagent,
final KnowledgeSessionConfiguration conf) {
this.ruleBase = ruleBase;
this.kagent = kagent;
this.conf = (conf != null) ? conf : new SessionConfiguration();
this.environment = EnvironmentFactory.newEnvironment();
if ( this.ruleBase != null ) {
synchronized ( this.ruleBase.getPackagesMap() ) {
if ( ruleBase.getConfiguration().isSequential() ) {