diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-01 21:26:57 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-01 21:26:57 +0100 |
commit | b6f6a0afdacead5c05a939511b5d0bee021f641e (patch) | |
tree | c94f10dea65c169f303f14580b5a742ca2fd14f3 /same | |
parent | 5a06b9427bbdd776d691ad1736cd147aa3914031 (diff) |
Add Benchmarking activity.
Diffstat (limited to 'same')
-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 1261816..03044cf 100644 --- a/same/src/main/java/com/orbekk/same/SameController.java +++ b/same/src/main/java/com/orbekk/same/SameController.java @@ -12,6 +12,7 @@ import com.orbekk.paxos.PaxosServiceImpl; import com.orbekk.same.config.Configuration; import com.orbekk.same.http.ServerContainer; import com.orbekk.same.http.StateServlet; +import com.orbekk.same.http.JettyServerBuilder; import com.orbekk.same.http.TjwsServerBuilder; public class SameController { @@ -60,7 +61,7 @@ public class SameController { StateServlet stateServlet = new StateServlet(client.getInterface(), new VariableFactory(client.getInterface())); - ServerContainer server = new TjwsServerBuilder(port) + ServerContainer server = new JettyServerBuilder(port) .withServlet(stateServlet, "/_/state") .withService(client.getService(), ClientService.class) .withService(master.getService(), MasterService.class) |