diff options
Diffstat (limited to 'java/test/Ice/classLoader/InitialI.java')
-rw-r--r-- | java/test/Ice/classLoader/InitialI.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/java/test/Ice/classLoader/InitialI.java b/java/test/Ice/classLoader/InitialI.java new file mode 100644 index 00000000000..2b8b87caefd --- /dev/null +++ b/java/test/Ice/classLoader/InitialI.java @@ -0,0 +1,51 @@ +// ********************************************************************** +// +// 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. +// +// ********************************************************************** + +package test.Ice.classLoader; + +import test.Ice.classLoader.Test.AbstractClass; +import test.Ice.classLoader.Test.ConcreteClass; +import test.Ice.classLoader.Test.E; +import test.Ice.classLoader.Test._InitialDisp; + +public final class InitialI extends _InitialDisp +{ + public + InitialI(Ice.ObjectAdapter adapter) + { + _adapter = adapter; + } + + public ConcreteClass + getConcreteClass(Ice.Current current) + { + return new ConcreteClass(); + } + + public AbstractClass + getAbstractClass(Ice.Current current) + { + return new AbstractClassI(); + } + + public void + throwException(Ice.Current current) + throws E + { + throw new E(); + } + + public void + shutdown(Ice.Current current) + { + _adapter.getCommunicator().shutdown(); + } + + private Ice.ObjectAdapter _adapter; +} |