diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-05-02 03:27:07 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-05-02 03:27:07 +0000 |
commit | 5f342d668a30647b7d7182b4b296e65f7cfc2b07 (patch) | |
tree | 53f13aa7e79a77da4ca6133cf170812d3995d8b2 /java/demo/IceBox/hello/Client.java | |
parent | adding assertions (diff) | |
download | ice-5f342d668a30647b7d7182b4b296e65f7cfc2b07.tar.bz2 ice-5f342d668a30647b7d7182b4b296e65f7cfc2b07.tar.xz ice-5f342d668a30647b7d7182b4b296e65f7cfc2b07.zip |
align with C++ changes for thread pool, properties, plug-ins
Diffstat (limited to 'java/demo/IceBox/hello/Client.java')
-rw-r--r-- | java/demo/IceBox/hello/Client.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/demo/IceBox/hello/Client.java b/java/demo/IceBox/hello/Client.java index 843c6a2fef1..f9c1cc26b1c 100644 --- a/java/demo/IceBox/hello/Client.java +++ b/java/demo/IceBox/hello/Client.java @@ -174,8 +174,9 @@ public class Client try { - Ice.Properties properties = Ice.Util.createPropertiesFromFile(args, "config"); - communicator = Ice.Util.initializeWithProperties(properties); + Ice.Properties properties = Ice.Util.createProperties(args); + properties.load("config"); + communicator = Ice.Util.initializeWithProperties(args, properties); status = run(args, communicator); } catch (Ice.LocalException ex) |