summaryrefslogtreecommitdiff
path: root/java/test/Ice/package/InitialI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-10-13 22:51:44 +0000
committerMark Spruiell <mes@zeroc.com>2004-10-13 22:51:44 +0000
commitbda9c08290a50a3ae84ab12c4b3e1d0ed7156cab (patch)
treed123ba7ab6c527dbf6d56dee565075b8b526f411 /java/test/Ice/package/InitialI.java
parentfix (diff)
downloadice-bda9c08290a50a3ae84ab12c4b3e1d0ed7156cab.tar.bz2
ice-bda9c08290a50a3ae84ab12c4b3e1d0ed7156cab.tar.xz
ice-bda9c08290a50a3ae84ab12c4b3e1d0ed7156cab.zip
- Fixed bug where global metadata causes unmarshaling of an exception or
concrete class to fail. - Added Ice.Package.* and Ice.Default.Package properties. - Also fixed bug where the conversion from a Slice type id to a Java class name did not escape Java keywords. - Added test/Ice/package.
Diffstat (limited to 'java/test/Ice/package/InitialI.java')
-rw-r--r--java/test/Ice/package/InitialI.java146
1 files changed, 146 insertions, 0 deletions
diff --git a/java/test/Ice/package/InitialI.java b/java/test/Ice/package/InitialI.java
new file mode 100644
index 00000000000..dcca84d904e
--- /dev/null
+++ b/java/test/Ice/package/InitialI.java
@@ -0,0 +1,146 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2004 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.
+//
+// **********************************************************************
+
+public final class InitialI extends _InitialDisp
+{
+ public Test1GlobalClass
+ getTest1GlobalClass(Ice.Current __current)
+ {
+ return new Test1GlobalClass();
+ }
+
+ public void
+ throwTest1GlobalException(Ice.Current __current)
+ throws Test1GlobalException
+ {
+ throw new Test1GlobalException();
+ }
+
+ public Ice.Object
+ getTest1C2AsObject(Ice.Current __current)
+ {
+ return new Test1.C2();
+ }
+
+ public Test1.C1
+ getTest1C2AsC1(Ice.Current __current)
+ {
+ return new Test1.C2();
+ }
+
+ public Test1.C2
+ getTest1C2AsC2(Ice.Current __current)
+ {
+ return new Test1.C2();
+ }
+
+ public void
+ throwTest1E2AsE1(Ice.Current __current)
+ throws Test1.E1
+ {
+ throw new Test1.E2();
+ }
+
+ public void
+ throwTest1E2AsE2(Ice.Current __current)
+ throws Test1.E2
+ {
+ throw new Test1.E2();
+ }
+
+ public void
+ throwTest1Notify(Ice.Current __current)
+ throws Test1._notify
+ {
+ throw new Test1._notify();
+ }
+
+ public testpkg.Test2GlobalClass
+ getTest2GlobalClass(Ice.Current __current)
+ {
+ return new testpkg.Test2GlobalClass();
+ }
+
+ public void
+ throwTest2GlobalException(Ice.Current __current)
+ throws testpkg.Test2GlobalException
+ {
+ throw new testpkg.Test2GlobalException();
+ }
+
+ public Ice.Object
+ getTest2C2AsObject(Ice.Current __current)
+ {
+ return new testpkg.Test2.C2();
+ }
+
+ public testpkg.Test2.C1
+ getTest2C2AsC1(Ice.Current __current)
+ {
+ return new testpkg.Test2.C2();
+ }
+
+ public testpkg.Test2.C2
+ getTest2C2AsC2(Ice.Current __current)
+ {
+ return new testpkg.Test2.C2();
+ }
+
+ public void
+ throwTest2E2AsE1(Ice.Current __current)
+ throws testpkg.Test2.E1
+ {
+ throw new testpkg.Test2.E2();
+ }
+
+ public void
+ throwTest2E2AsE2(Ice.Current __current)
+ throws testpkg.Test2.E2
+ {
+ throw new testpkg.Test2.E2();
+ }
+
+ public Ice.Object
+ getTest3C2AsObject(Ice.Current __current)
+ {
+ return new testpkg.Test3.C2();
+ }
+
+ public testpkg.Test3.C1
+ getTest3C2AsC1(Ice.Current __current)
+ {
+ return new testpkg.Test3.C2();
+ }
+
+ public testpkg.Test3.C2
+ getTest3C2AsC2(Ice.Current __current)
+ {
+ return new testpkg.Test3.C2();
+ }
+
+ public void
+ throwTest3E2AsE1(Ice.Current __current)
+ throws testpkg.Test3.E1
+ {
+ throw new testpkg.Test3.E2();
+ }
+
+ public void
+ throwTest3E2AsE2(Ice.Current __current)
+ throws testpkg.Test3.E2
+ {
+ throw new testpkg.Test3.E2();
+ }
+
+ public void
+ shutdown(Ice.Current __current)
+ {
+ __current.adapter.getCommunicator().shutdown();
+ }
+}