diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-09-11 20:34:21 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-09-11 20:34:21 +0000 |
commit | 587b22683496852e9ad2f8673ff774da03242ac6 (patch) | |
tree | e764bc30225eac43d58d6fb1345aefc25ea974e9 /java/demo/IceBox/hello/HelloServiceI.java | |
parent | Object adapter creation method changes, IceBox changes. (diff) | |
download | ice-587b22683496852e9ad2f8673ff774da03242ac6.tar.bz2 ice-587b22683496852e9ad2f8673ff774da03242ac6.tar.xz ice-587b22683496852e9ad2f8673ff774da03242ac6.zip |
Object adapter creation method changes, IceBox fixes.
Diffstat (limited to 'java/demo/IceBox/hello/HelloServiceI.java')
-rw-r--r-- | java/demo/IceBox/hello/HelloServiceI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/IceBox/hello/HelloServiceI.java b/java/demo/IceBox/hello/HelloServiceI.java index 6c74a7d1948..9a7c605d381 100644 --- a/java/demo/IceBox/hello/HelloServiceI.java +++ b/java/demo/IceBox/hello/HelloServiceI.java @@ -11,10 +11,10 @@ public class HelloServiceI extends Ice.LocalObjectImpl implements IceBox.Service { public void - start(String name, Ice.Communicator communicator, Ice.Properties properties, String[] args) + start(String name, Ice.Communicator communicator, String[] args) throws IceBox.FailureException { - _adapter = communicator.createObjectAdapter(name + "Adapter"); + _adapter = communicator.createObjectAdapter(name); Ice.Object object = new HelloI(communicator); _adapter.add(object, Ice.Util.stringToIdentity("hello")); _adapter.activate(); |