return new ServerHandlerRegistry(getHandlerFactory(), null, null);
}
private MethodHandlerFactory getHandlerFactory()
{
MethodHandlerFactory factory = new ClusterMethodHandlerFactory(groupMgr, loadTable);
//need to wrap relevant handlers with recording handler for easy replay:
return new RecordingMethodHandlerFactory(factory, replayStore);
}