public void doStart() throws Exception {
Dispatcher underlyingDisp = cluster.getCluster().getDispatcher();
ServiceSpaceName serviceSpaceName = new ServiceSpaceName(configInfo.getServiceSpaceURI());
StackContext stackContext;
if (configInfo.isDeltaReplication()) {
stackContext = new AOPStackContext(cl,
serviceSpaceName,
underlyingDisp,
configInfo.getSessionTimeoutSeconds(),
configInfo.getNumPartitions(),
configInfo.getSweepInterval(),
backingStrategyFactory);
} else {
stackContext = new StackContext(cl,
serviceSpaceName,
underlyingDisp,
configInfo.getSessionTimeoutSeconds(),
configInfo.getNumPartitions(),
configInfo.getSweepInterval(),
backingStrategyFactory);
}
stackContext.setDisableReplication(configInfo.isDisableReplication());
stackContext.build();
serviceSpace = stackContext.getServiceSpace();
manager = stackContext.getManager();
sessionMonitor = stackContext.getSessionMonitor();
sessionMonitor.addSessionListener(new SessionListenerAdapter());
serviceSpace.start();
}