diff options
Diffstat (limited to 'java/demo/IceBox/hello/HelloServiceI.java')
-rw-r--r-- | java/demo/IceBox/hello/HelloServiceI.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/java/demo/IceBox/hello/HelloServiceI.java b/java/demo/IceBox/hello/HelloServiceI.java index 28c515f9e2c..a222ea47e38 100644 --- a/java/demo/IceBox/hello/HelloServiceI.java +++ b/java/demo/IceBox/hello/HelloServiceI.java @@ -11,7 +11,7 @@ public class HelloServiceI implements IceBox.Service { public void - init(String name, Ice.Communicator communicator, Ice.Properties properties, String[] args) + start(String name, Ice.Communicator communicator, Ice.Properties properties, String[] args) throws IceBox.FailureException { _adapter = communicator.createObjectAdapter(name + "Adapter"); @@ -21,12 +21,6 @@ public class HelloServiceI implements IceBox.Service } public void - start() - throws IceBox.FailureException - { - } - - public void stop() { _adapter.deactivate(); |