summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/Server.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2002-09-11 20:34:21 +0000
committerBenoit Foucher <benoit@zeroc.com>2002-09-11 20:34:21 +0000
commit587b22683496852e9ad2f8673ff774da03242ac6 (patch)
treee764bc30225eac43d58d6fb1345aefc25ea974e9 /java/test/Ice/exceptions/Server.java
parentObject adapter creation method changes, IceBox changes. (diff)
downloadice-587b22683496852e9ad2f8673ff774da03242ac6.tar.bz2
ice-587b22683496852e9ad2f8673ff774da03242ac6.tar.xz
ice-587b22683496852e9ad2f8673ff774da03242ac6.zip
Object adapter creation method changes, IceBox fixes.
Diffstat (limited to 'java/test/Ice/exceptions/Server.java')
-rw-r--r--java/test/Ice/exceptions/Server.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/Ice/exceptions/Server.java b/java/test/Ice/exceptions/Server.java
index 83c00d0e4b1..14e92c82ed3 100644
--- a/java/test/Ice/exceptions/Server.java
+++ b/java/test/Ice/exceptions/Server.java
@@ -15,8 +15,8 @@ public class Server
{
Ice.Properties properties = communicator.getProperties();
properties.setProperty("Ice.ConnectionWarnings", "0");
- String endpts = "default -p 12345 -t 2000";
- Ice.ObjectAdapter adapter = communicator.createObjectAdapterWithEndpoints("TestAdapter", endpts);
+ properties.setProperty("TestAdapter.Endpoints", "default -p 12345 -t 2000");
+ Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
Ice.Object object = new ThrowerI(adapter);
adapter.add(object, Ice.Util.stringToIdentity("thrower"));
adapter.activate();