KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > Containers > OperationCallContext


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2001-2002 USTL - LIFL - GOAL
5 Contact: openccm-team@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Mathieu Vadet.
23 Contributor(s): ______________________________________.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.Containers;
28
29 /**
30  * This interface ??????.
31  *
32  * @author <a HREF="mailto:Mathieu.Vadet@lifl.fr">Mathieu Vadet</a>
33  *
34  * @version 0.3
35  */

36
37 public class OperationCallContext
38        extends org.omg.CORBA.LocalObject JavaDoc
39        implements CallContext
40 {
41     // ==================================================================
42
//
43
// Internal state.
44
//
45
// ==================================================================
46

47     /**
48      **
49      **/

50     protected java.lang.String JavaDoc the_operation_name_;
51
52     /**
53      **
54      **/

55     protected CallContext the_parent_;
56
57     // ==================================================================
58
//
59
// Constructor.
60
//
61
// ==================================================================
62

63     /**
64      ** The constructor.
65      **
66      **/

67     public
68     OperationCallContext(CallContext parent,
69                          java.lang.String JavaDoc op_name)
70     {
71         the_parent_ = parent;
72         the_operation_name_ = op_name;
73     }
74
75     // ==================================================================
76
//
77
// Internal methods.
78
//
79
// ==================================================================
80

81     // ==================================================================
82
//
83
// Public methods for the CallContext interface.
84
//
85
// ==================================================================
86

87     //
88
// IDL:goal.lifl.fr/OpenCCM/Containers/CallContext/get_call_coordinator:1.0
89
//
90
/**
91      **
92      **/

93     public CallCoordinator
94     get_call_coordinator(java.lang.String JavaDoc op_name)
95     {
96         return the_parent_.get_call_coordinator(op_name);
97     }
98
99     //
100
// IDL:goal.lifl.fr/OpenCCM/Containers/CallContext/uid:1.0
101
//
102
/**
103      **
104      **/

105     public java.lang.String JavaDoc
106     uid()
107     {
108         return the_parent_.uid();
109     }
110
111     //
112
// IDL:goal.lifl.fr/OpenCCM/Containers/CallContext/operation_name:1.0
113
//
114
/**
115      **
116      **/

117     public java.lang.String JavaDoc
118     operation_name()
119     {
120         return the_operation_name_;
121     }
122
123     //
124
// IDL:goal.lifl.fr/OpenCCM/Containers/CallContext/duplicate:1.0
125
//
126
/**
127      **
128      **/

129     public CallContext
130     duplicate(java.lang.String JavaDoc op_name)
131     {
132         //
133
// This kind of context can't be more duplicated.
134
//
135
return null;
136     }
137 }
138
Popular Tags