private ClusterMonitor resolveClusterMonitor() throws Exception {
  if (isPartOfCluster()) {
    return new MultiServerClusterMonitor(InjectorHolder.getInstance(ForeignSessionHandler.class),sessionDebug,serviceConfig,serverConfig);
  }
 else {
    return new SingleServerClusterMonitor();
  }
}

private ClusterMonitor resolveClusterMonitor ( ) throws Exception { if ( isPartOfCluster ( ) ) { return new MultiServerClusterMonitor ( InjectorHolder . getInstance ( ForeignSessionHandler . class ) , sessionDebug , serviceConfig , serverConfig ) ; } else { return new SingleServerClusterMonitor ( ) ; } }
resolves the appropriate instance of clustermonitor to initialise .
