DempsyExecutor executor = (DempsyExecutor)clusterDefinition.getExecutor(); // this can be null
if (executor != null)
executor.start();
ClusterInfoSession clusterSession = clusterSessionFactory.createSession();
ClusterId currentClusterId = clusterDefinition.getClusterId();
router = new Router(clusterDefinition.getParentApplicationDefinition());
router.setCurrentCluster(currentClusterId);
router.setClusterSession(clusterSession);
// get the executor if one is set
container = new MpContainer(currentClusterId);