diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-03-06 10:13:42 +0100 |
commit | c6dbd090d9691cc0116a2967b2827b858b184dfe (patch) | |
tree | 6d2ad80c98665c9090b16f97c400ab4b33c7ab73 /java/test/Ice/binding/RemoteCommunicatorI.java | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.bz2 ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.tar.xz ice-c6dbd090d9691cc0116a2967b2827b858b184dfe.zip |
Removed thread-per-connection and added serialize mode
Diffstat (limited to 'java/test/Ice/binding/RemoteCommunicatorI.java')
-rw-r--r-- | java/test/Ice/binding/RemoteCommunicatorI.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/test/Ice/binding/RemoteCommunicatorI.java b/java/test/Ice/binding/RemoteCommunicatorI.java index f61fd17219d..60eb19fedbf 100644 --- a/java/test/Ice/binding/RemoteCommunicatorI.java +++ b/java/test/Ice/binding/RemoteCommunicatorI.java @@ -15,10 +15,7 @@ public class RemoteCommunicatorI extends _RemoteCommunicatorDisp createObjectAdapter(String name, String endpoints, Ice.Current current) { Ice.Communicator com = current.adapter.getCommunicator(); - if(com.getProperties().getPropertyAsIntWithDefault("Ice.ThreadPerConnection", 0) == 0) - { - com.getProperties().setProperty(name + ".ThreadPool.Size", "1"); - } + com.getProperties().setProperty(name + ".ThreadPool.Size", "1"); Ice.ObjectAdapter adapter = com.createObjectAdapterWithEndpoints(name, endpoints); return RemoteObjectAdapterPrxHelper.uncheckedCast( current.adapter.addWithUUID(new RemoteObjectAdapterI(adapter))); |