Environment environment,
ClusterInfoHandler nodeHandler, SyncHandler<K,E> syncHandler,
StoreHandler<K,E,L> storeHandler)
{
final ClusterViewByServer cluster = syncHandler.getCluster();
ServletBase nodeStatusServlet = constructNodeStatusServlet(stuff, nodeHandler);
ServletBase syncListServlet = constructSyncListServlet(
stuff, cluster, syncHandler);
ServletBase syncPullServlet = constructSyncPullServlet(
stuff, cluster, syncHandler);
StoreEntryServlet<K,E> storeEntryServlet = constructStoreEntryServlet(stuff,
cluster, storeHandler);
ServletBase storeListServlet = constructStoreListServlet(stuff,
cluster, storeHandler);
ServiceDispatchServlet<K,E> dispatcher = new ServiceDispatchServlet<K,E>(cluster, stuff,
nodeStatusServlet, storeEntryServlet, storeListServlet,
syncListServlet, syncPullServlet);