Collapser collapser = new HashingCollapser(1024, 10000);
Map mmap = Collections.synchronizedMap(new HashMap());
WebSessionPool sessionPool = new SimpleSessionPool(new AtomicallyReplicableSessionFactory());
// end of contextualiser stack
Contextualiser contextualiser = new DummyContextualiser();
// replica aware contextualiser
ReplicationManager replicationManager = repManagerFactory.factory(serviceSpace, backingStrategyFactory);
ReplicationManager sessionRepManager = new SessionReplicationManager(replicationManager, sessionPool);
contextualiser = new ReplicaAwareContextualiser(contextualiser, sessionRepManager);