summaryrefslogtreecommitdiff
path: root/java/demo/Ice/plugin/LoggerPluginFactoryI.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-21 15:59:33 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-21 15:59:33 -0230
commitae58d9f09835de8d57e5ad27d9b33ffbcd0d5092 (patch)
treef96fbf2fd2643bf02c64931dedfd3b6772169705 /java/demo/Ice/plugin/LoggerPluginFactoryI.java
parentBug 2504 - added getPlugins method to PluginManager (diff)
downloadice-ae58d9f09835de8d57e5ad27d9b33ffbcd0d5092.tar.bz2
ice-ae58d9f09835de8d57e5ad27d9b33ffbcd0d5092.tar.xz
ice-ae58d9f09835de8d57e5ad27d9b33ffbcd0d5092.zip
Bug 3912 - added logger plugin demo
Diffstat (limited to 'java/demo/Ice/plugin/LoggerPluginFactoryI.java')
-rw-r--r--java/demo/Ice/plugin/LoggerPluginFactoryI.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/java/demo/Ice/plugin/LoggerPluginFactoryI.java b/java/demo/Ice/plugin/LoggerPluginFactoryI.java
new file mode 100644
index 00000000000..b1d9052e048
--- /dev/null
+++ b/java/demo/Ice/plugin/LoggerPluginFactoryI.java
@@ -0,0 +1,20 @@
+// **********************************************************************
+//
+// 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;
+import Ice.LoggerPlugin;
+
+public class LoggerPluginFactoryI implements Ice.PluginFactory
+{
+ public Ice.Plugin
+ create(Ice.Communicator communicator, String name, String[] args)
+ {
+ return new Ice.LoggerPlugin(communicator, new LoggerI());
+ }
+}