diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-31 14:18:46 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-31 14:18:46 +0100 |
commit | c53846bfad9c75ab24ae9051470b4d102e083538 (patch) | |
tree | f01edc7ba5427736b57764bf5925e5fc49becb9d | |
parent | 2595e02a1b0304b82a5e7e2fe1f1dce0f7c69105 (diff) |
Fix: Set correct /ClientService.json handler.
-rw-r--r-- | same/src/main/java/com/orbekk/same/SameController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/SameController.java b/same/src/main/java/com/orbekk/same/SameController.java index 9b8abde..b75de96 100644 --- a/same/src/main/java/com/orbekk/same/SameController.java +++ b/same/src/main/java/com/orbekk/same/SameController.java @@ -32,7 +32,8 @@ public class SameController implements UrlReceiver { broadcaster); JsonRpcServer jsonMaster = new JsonRpcServer(master, MasterService.class); ClientServiceImpl client = new ClientServiceImpl(state, connections); - JsonRpcServer jsonClient = new JsonRpcServer(client, ClientService.class); + JsonRpcServer jsonClient = new JsonRpcServer(client.getService(), + ClientService.class); PaxosServiceImpl paxos = new PaxosServiceImpl(""); JsonRpcServer jsonPaxos = new JsonRpcServer(paxos, PaxosService.class); |