summaryrefslogtreecommitdiff
path: root/java/demo/Ice/plugin/HelloPluginFactoryI.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-22 11:19:30 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-22 11:19:30 -0230
commit4db3e73ce821b142d0f139e30bf81a13db92ed95 (patch)
tree7742182c3816cd40b99f5b77d9d48a39c9b9953c /java/demo/Ice/plugin/HelloPluginFactoryI.java
parentBug 3912 - fixed windows build for new plugin demo (diff)
downloadice-4db3e73ce821b142d0f139e30bf81a13db92ed95.tar.bz2
ice-4db3e73ce821b142d0f139e30bf81a13db92ed95.tar.xz
ice-4db3e73ce821b142d0f139e30bf81a13db92ed95.zip
Bug 3912 - added regular plugin to plugin demo
Diffstat (limited to 'java/demo/Ice/plugin/HelloPluginFactoryI.java')
-rw-r--r--java/demo/Ice/plugin/HelloPluginFactoryI.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/java/demo/Ice/plugin/HelloPluginFactoryI.java b/java/demo/Ice/plugin/HelloPluginFactoryI.java
new file mode 100644
index 00000000000..5610b3550e1
--- /dev/null
+++ b/java/demo/Ice/plugin/HelloPluginFactoryI.java
@@ -0,0 +1,19 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 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.
+//
+// **********************************************************************
+
+import Ice.PluginFactory;
+
+public class HelloPluginFactoryI implements Ice.PluginFactory
+{
+ public Ice.Plugin
+ create(Ice.Communicator communicator, String name, String[] args)
+ {
+ return new HelloPluginI(communicator);
+ }
+}