// PlaceholderResolverStrategyFactory factory = new PlaceholderResolverStrategyFactory();
// factory.addPlaceholderResolverStrategy( new SerializablePlaceholderResolverStrategy() );
StatefulSession session = null;
synchronized ( this.pkgs ) {
ExecutorService executor = ExecutorServiceFactory.createExecutorService( this.config.getExecutorService() );
session = marshaller.read( stream, this, nextWorkingMemoryCounter(), executor );
// WMSerialisationInContext context = new WMSerialisationInContext( stream,
// this,
// RuleBaseNodes.getNodeMap( this ),
// factory );
//
// session = InputPersister.readSession( context, nextWorkingMemoryCounter(), executor );
executor.setCommandExecutor( new CommandExecutor( session ) );
if ( keepReference ) {
super.addStatefulSession( session );
for ( Iterator it = session.getRuleBaseUpdateListeners().iterator(); it.hasNext(); ) {