summaryrefslogtreecommitdiff
path: root/java/test/IceBox/configuration/TestServiceI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/IceBox/configuration/TestServiceI.java')
-rw-r--r--java/test/IceBox/configuration/TestServiceI.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/java/test/IceBox/configuration/TestServiceI.java b/java/test/IceBox/configuration/TestServiceI.java
new file mode 100644
index 00000000000..c34213b86d7
--- /dev/null
+++ b/java/test/IceBox/configuration/TestServiceI.java
@@ -0,0 +1,28 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package test.IceBox.configuration;
+
+public class TestServiceI implements IceBox.Service
+{
+ public void
+ start(String name, Ice.Communicator communicator, String[] args)
+ {
+ communicator.getProperties().setProperty("Ice.Package.Test", "test.IceBox.configuration");
+
+ Ice.ObjectAdapter adapter = communicator.createObjectAdapter(name + "OA");
+ adapter.add(new TestI(args), communicator.stringToIdentity("test"));
+ adapter.activate();
+ }
+
+ public void
+ stop()
+ {
+ }
+}