~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to java/test/Ice/package/InitialI.java

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// **********************************************************************
2
 
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
4
 
//
5
 
// This copy of Ice is licensed to you under the terms described in the
6
 
// ICE_LICENSE file included in this distribution.
7
 
//
8
 
// **********************************************************************
9
 
 
10
 
public final class InitialI extends Test._InitialDisp
11
 
{
12
 
    public Ice.Object
13
 
    getTest1C2AsObject(Ice.Current __current)
14
 
    {
15
 
        return new Test1.C2();
16
 
    }
17
 
 
18
 
    public Test1.C1
19
 
    getTest1C2AsC1(Ice.Current __current)
20
 
    {
21
 
        return new Test1.C2();
22
 
    }
23
 
 
24
 
    public Test1.C2
25
 
    getTest1C2AsC2(Ice.Current __current)
26
 
    {
27
 
        return new Test1.C2();
28
 
    }
29
 
 
30
 
    public void
31
 
    throwTest1E2AsE1(Ice.Current __current)
32
 
        throws Test1.E1
33
 
    {
34
 
        throw new Test1.E2();
35
 
    }
36
 
 
37
 
    public void
38
 
    throwTest1E2AsE2(Ice.Current __current)
39
 
        throws Test1.E2
40
 
    {
41
 
        throw new Test1.E2();
42
 
    }
43
 
 
44
 
    public void
45
 
    throwTest1Notify(Ice.Current __current)
46
 
        throws Test1._notify
47
 
    {
48
 
        throw new Test1._notify();
49
 
    }
50
 
 
51
 
    public Ice.Object
52
 
    getTest2C2AsObject(Ice.Current __current)
53
 
    {
54
 
        return new testpkg.Test2.C2();
55
 
    }
56
 
 
57
 
    public testpkg.Test2.C1
58
 
    getTest2C2AsC1(Ice.Current __current)
59
 
    {
60
 
        return new testpkg.Test2.C2();
61
 
    }
62
 
 
63
 
    public testpkg.Test2.C2
64
 
    getTest2C2AsC2(Ice.Current __current)
65
 
    {
66
 
        return new testpkg.Test2.C2();
67
 
    }
68
 
 
69
 
    public void
70
 
    throwTest2E2AsE1(Ice.Current __current)
71
 
        throws testpkg.Test2.E1
72
 
    {
73
 
        throw new testpkg.Test2.E2();
74
 
    }
75
 
 
76
 
    public void
77
 
    throwTest2E2AsE2(Ice.Current __current)
78
 
        throws testpkg.Test2.E2
79
 
    {
80
 
        throw new testpkg.Test2.E2();
81
 
    }
82
 
 
83
 
    public Ice.Object
84
 
    getTest3C2AsObject(Ice.Current __current)
85
 
    {
86
 
        return new testpkg.Test3.C2();
87
 
    }
88
 
 
89
 
    public testpkg.Test3.C1
90
 
    getTest3C2AsC1(Ice.Current __current)
91
 
    {
92
 
        return new testpkg.Test3.C2();
93
 
    }
94
 
 
95
 
    public testpkg.Test3.C2
96
 
    getTest3C2AsC2(Ice.Current __current)
97
 
    {
98
 
        return new testpkg.Test3.C2();
99
 
    }
100
 
 
101
 
    public void
102
 
    throwTest3E2AsE1(Ice.Current __current)
103
 
        throws testpkg.Test3.E1
104
 
    {
105
 
        throw new testpkg.Test3.E2();
106
 
    }
107
 
 
108
 
    public void
109
 
    throwTest3E2AsE2(Ice.Current __current)
110
 
        throws testpkg.Test3.E2
111
 
    {
112
 
        throw new testpkg.Test3.E2();
113
 
    }
114
 
 
115
 
    public void
116
 
    shutdown(Ice.Current __current)
117
 
    {
118
 
        __current.adapter.getCommunicator().shutdown();
119
 
    }
120
 
}