ReteooStatefulSession session = new ReteooStatefulSession( id,
this,
executor,
sessionConfig,
environment );
new StatefulKnowledgeSessionImpl(session);
executor.setCommandExecutor( new CommandExecutor( session ) );
if ( sessionConfig.isKeepReference() ) {
super.addStatefulSession( session );