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

« back to all changes in this revision

Viewing changes to java/test/Ice/inheritance/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
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
7
7
//
8
8
// **********************************************************************
9
9
 
10
 
public final class InitialI extends Test._InitialDisp
 
10
package test.Ice.inheritance;
 
11
 
 
12
import test.Ice.inheritance.Test._InitialDisp;
 
13
import test.Ice.inheritance.Test.MA.CAPrx;
 
14
import test.Ice.inheritance.Test.MA.CAPrxHelper;
 
15
import test.Ice.inheritance.Test.MA.CCPrx;
 
16
import test.Ice.inheritance.Test.MA.CCPrxHelper;
 
17
import test.Ice.inheritance.Test.MA.CDPrx;
 
18
import test.Ice.inheritance.Test.MA.CDPrxHelper;
 
19
import test.Ice.inheritance.Test.MA.IAPrx;
 
20
import test.Ice.inheritance.Test.MA.IAPrxHelper;
 
21
import test.Ice.inheritance.Test.MA.ICPrx;
 
22
import test.Ice.inheritance.Test.MA.ICPrxHelper;
 
23
import test.Ice.inheritance.Test.MB.CBPrx;
 
24
import test.Ice.inheritance.Test.MB.CBPrxHelper;
 
25
import test.Ice.inheritance.Test.MB.IB1Prx;
 
26
import test.Ice.inheritance.Test.MB.IB1PrxHelper;
 
27
import test.Ice.inheritance.Test.MB.IB2Prx;
 
28
import test.Ice.inheritance.Test.MB.IB2PrxHelper;
 
29
 
 
30
public final class InitialI extends _InitialDisp
11
31
{
12
32
    public
13
33
    InitialI(Ice.ObjectAdapter adapter)
14
34
    {
15
 
        _adapter = adapter;
16
 
        _ca = Test.MA.CAPrxHelper.uncheckedCast(
17
 
            _adapter.addWithUUID(new CAI()));
18
 
        _cb = Test.MB.CBPrxHelper.uncheckedCast(
19
 
            _adapter.addWithUUID(new CBI()));
20
 
        _cc = Test.MA.CCPrxHelper.uncheckedCast(
21
 
            _adapter.addWithUUID(new CCI()));
22
 
        _cd = Test.MA.CDPrxHelper.uncheckedCast(
23
 
            _adapter.addWithUUID(new CDI()));
24
 
        _ia = Test.MA.IAPrxHelper.uncheckedCast(
25
 
            _adapter.addWithUUID(new IAI()));
26
 
        _ib1 = Test.MB.IB1PrxHelper.uncheckedCast(
27
 
            _adapter.addWithUUID(new IB1I()));
28
 
        _ib2 = Test.MB.IB2PrxHelper.uncheckedCast(
29
 
            _adapter.addWithUUID(new IB2I()));
30
 
        _ic = Test.MA.ICPrxHelper.uncheckedCast(
31
 
            _adapter.addWithUUID(new ICI()));
 
35
        _ca = CAPrxHelper.uncheckedCast(adapter.addWithUUID(new CAI()));
 
36
        _cb = CBPrxHelper.uncheckedCast(adapter.addWithUUID(new CBI()));
 
37
        _cc = CCPrxHelper.uncheckedCast(adapter.addWithUUID(new CCI()));
 
38
        _cd = CDPrxHelper.uncheckedCast(adapter.addWithUUID(new CDI()));
 
39
        _ia = IAPrxHelper.uncheckedCast(adapter.addWithUUID(new IAI()));
 
40
        _ib1 = IB1PrxHelper.uncheckedCast(adapter.addWithUUID(new IB1I()));
 
41
        _ib2 = IB2PrxHelper.uncheckedCast(adapter.addWithUUID(new IB2I()));
 
42
        _ic = ICPrxHelper.uncheckedCast(adapter.addWithUUID(new ICI()));
32
43
    }
33
44
 
34
 
    public Test.MA.CAPrx
 
45
    public CAPrx
35
46
    caop(Ice.Current current)
36
47
    {
37
48
        return _ca;
38
49
    }
39
50
 
40
 
    public Test.MB.CBPrx
 
51
    public CBPrx
41
52
    cbop(Ice.Current current)
42
53
    {
43
54
        return _cb;
44
55
    }
45
56
 
46
 
    public Test.MA.CCPrx
 
57
    public CCPrx
47
58
    ccop(Ice.Current current)
48
59
    {
49
60
        return _cc;
50
61
    }
51
62
 
52
 
    public Test.MA.CDPrx
 
63
    public CDPrx
53
64
    cdop(Ice.Current current)
54
65
    {
55
66
        return _cd;
56
67
    }
57
68
 
58
 
    public Test.MA.IAPrx
 
69
    public IAPrx
59
70
    iaop(Ice.Current current)
60
71
    {
61
72
        return _ia;
62
73
    }
63
74
 
64
 
    public Test.MB.IB1Prx
 
75
    public IB1Prx
65
76
    ib1op(Ice.Current current)
66
77
    {
67
78
        return _ib1;
68
79
    }
69
80
 
70
 
    public Test.MB.IB2Prx
 
81
    public IB2Prx
71
82
    ib2op(Ice.Current current)
72
83
    {
73
84
        return _ib2;
74
85
    }
75
86
 
76
 
    public Test.MA.ICPrx
 
87
    public ICPrx
77
88
    icop(Ice.Current current)
78
89
    {
79
90
        return _ic;
82
93
    public void
83
94
    shutdown(Ice.Current current)
84
95
    {
85
 
        _adapter.getCommunicator().shutdown();
 
96
        current.adapter.getCommunicator().shutdown();
86
97
    }
87
98
 
88
 
    private Ice.ObjectAdapter _adapter;
89
 
    private Test.MA.CAPrx _ca;
90
 
    private Test.MB.CBPrx _cb;
91
 
    private Test.MA.CCPrx _cc;
92
 
    private Test.MA.CDPrx _cd;
93
 
    private Test.MA.IAPrx _ia;
94
 
    private Test.MB.IB1Prx _ib1;
95
 
    private Test.MB.IB2Prx _ib2;
96
 
    private Test.MA.ICPrx _ic;
 
99
    private CAPrx _ca;
 
100
    private CBPrx _cb;
 
101
    private CCPrx _cc;
 
102
    private CDPrx _cd;
 
103
    private IAPrx _ia;
 
104
    private IB1Prx _ib1;
 
105
    private IB2Prx _ib2;
 
106
    private ICPrx _ic;
97
107
}