diff options
Diffstat (limited to 'same/src/main/java')
-rw-r--r-- | same/src/main/java/com/orbekk/same/SameController.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/same/src/main/java/com/orbekk/same/SameController.java b/same/src/main/java/com/orbekk/same/SameController.java index bce6831..8141e5f 100644 --- a/same/src/main/java/com/orbekk/same/SameController.java +++ b/same/src/main/java/com/orbekk/same/SameController.java @@ -61,12 +61,12 @@ public class SameController { new VariableFactory(client.getInterface())); ServerContainer server = new ServerBuilder(port) - .withServlet(stateServlet, "/_/state") - .withService(client.getService(), ClientService.class) - .withService(master.getService(), MasterService.class) - .withService(paxos, PaxosService.class) - .build(); - + .withServlet(stateServlet, "/_/state") + .withService(client.getService(), ClientService.class) + .withService(master.getService(), MasterService.class) + .withService(paxos, PaxosService.class) + .build(); + SameController controller = new SameController( configuration, server, master, client, paxos, discoveryService, broadcasterFactory); |