KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > itut_x780Components > NamedComponentMonolithicImpl


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

21 package ist.coach.itut_x780Components;
22 /**
23  ** Implementation skeleton class for the ::itut_x780Components::NamedComponent component.
24  ** Business operations MUST be completed !!!
25  **/

26 public class NamedComponentMonolithicImpl
27        extends org.omg.CORBA.LocalObject JavaDoc
28        implements CCM_NamedComponent,
29                   org.omg.Components.SessionComponent
30 {
31     // ==================================================================
32
//
33
// Internal State.
34
//
35
// ===================================================================
36
/**
37      ** Context reference.
38      **/

39     private CCM_NamedComponent_Context the_context_;
40     // ==================================================================
41
//
42
// Constructor.
43
//
44
// ===================================================================
45
/**
46      ** The default constructor.
47      **/

48     public
49     NamedComponentMonolithicImpl()
50     {
51         the_context_ = null;
52     }
53     // ==================================================================
54
//
55
// Internal methods.
56
//
57
// ===================================================================
58
// ==================================================================
59
//
60
// Public methods.
61
//
62
// ===================================================================
63
/**
64      ** To obtain the context.
65      **
66      ** @return The context that has been previously set by
67      ** the set_session_context operation.
68      **/

69     public CCM_NamedComponent_Context
70     getContext()
71     {
72         return the_context_;
73     }
74     // ==================================================================
75
//
76
// Methods for the OMG IDL Components::EnterpriseComponent local interface.
77
//
78
// ==================================================================
79
//
80
// IDL:omg.org/Components/EnterpriseComponent/configuration_complete:1.0
81
//
82
/**
83      ** Completes the component configuration.
84      **
85      ** @throws org.omg.Components.InvalidConfiguration
86      ** Thrown if the configuration is invalid.
87      **/

88     public void
89     configuration_complete()
90     throws org.omg.Components.InvalidConfiguration
91     {
92         //
93
// TODO : implement !!!
94
//
95
}
96     // ==================================================================
97
//
98
// Methods for the OMG IDL Components::SessionComponent local interface.
99
//
100
// ==================================================================
101
//
102
// IDL:omg.org/Components/SessionComponent/set_session_context:1.0
103
//
104
/**
105      * Called by the container when the component session context will be fixed.
106      *
107      * @param context The session context.
108      *
109      * @throws org.omg.Components.CCMException
110      * Thrown if a system level error occured.
111      */

112     public void
113     set_session_context(org.omg.Components.SessionContext context)
114     throws org.omg.Components.CCMException
115     {
116         the_context_ = (CCM_NamedComponent_Context)context;
117     }
118     //
119
// IDL:omg.org/Components/SessionComponent/ccm_activate:1.0
120
//
121
/**
122      *
123      * Called by the container when the component will be activated.
124      *
125      * @throws org.omg.Components.CCMException
126      * Thrown if a system level error occured.
127      */

128     public void
129     ccm_activate()
130     throws org.omg.Components.CCMException
131     {
132         //
133
// Unused by actual OpenCCM containers
134
//
135
}
136     //
137
// IDL:omg.org/Components/SessionComponent/ccm_passivate:1.0
138
//
139
/**
140      *
141      * Called by the container when the component will be passivated.
142      *
143      * @throws org.omg.Components.CCMException
144      * Thrown if a system level error occured.
145      */

146     public void
147     ccm_passivate()
148     throws org.omg.Components.CCMException
149     {
150         //
151
// Unused by actual OpenCCM containers
152
//
153
}
154     //
155
// IDL:omg.org/Components/SessionComponent/ccm_remove:1.0
156
//
157
/**
158      *
159      * Called by the container when the component will be removed.
160      *
161      * @throws org.omg.Components.CCMException
162      * Thrown if a system level error occured.
163      */

164     public void
165     ccm_remove()
166     throws org.omg.Components.CCMException
167     {
168         //
169
// TO DO: implement !!!
170
//
171
}
172     // ==================================================================
173
//
174
// Public methods for the CCM_NamedComponent local interface.
175
//
176
// ==================================================================
177
//
178
// IDL:coach.ist/itut_x780Components/CCM_NamedComponent_Executor/facade_name:1.0
179
//
180
/**
181      ** Implementation of the ::itut_x780Components::CCM_NamedComponent_Executor::facade_name attribute as accessor operation.
182      **/

183     public java.lang.String JavaDoc
184     facade_name()
185     {
186         //
187
// TODO : implement
188
//
189
return "";
190     }
191      
192     /**
193      ** Implementation of the ::itut_x780Components::CCM_NamedComponent_Executor::facade_name attribute as mutator operation.
194      **/

195     public void
196     facade_name(java.lang.String JavaDoc val)
197     {
198         //
199
// TODO : implement
200
//
201
}
202 }
203
Popular Tags