KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfServicesComponents > BasicLogProviderMonolithicImpl


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.coachEmfServicesComponents;
22 /**
23  ** Implementation skeleton class for the ::coachEmfServicesComponents::BasicLogProvider component.
24  ** Business operations MUST be completed !!!
25  **/

26 public class BasicLogProviderMonolithicImpl
27        extends org.omg.CORBA.LocalObject JavaDoc
28        implements CCM_BasicLogProvider,
29                   ist.coach.coachEmfServices.EmfBasicLog.CCM_BasicLog,
30                   org.omg.Components.SessionComponent
31 {
32     // ==================================================================
33
//
34
// Internal State.
35
//
36
// ===================================================================
37
/**
38      ** Context reference.
39      **/

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

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

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

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

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

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

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

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

184     public ist.coach.coachEmfServices.EmfBasicLog.CCM_BasicLog
185     get_i_BasicLog()
186     {
187         return this;
188     }
189     //
190
// IDL:coach.ist/coachEmfServicesComponents/CCM_LogNamedComponent_Executor/name:1.0
191
//
192
/**
193      ** Implementation of the ::coachEmfServicesComponents::CCM_LogNamedComponent_Executor::name attribute as accessor operation.
194      **/

195     public java.lang.String JavaDoc
196     name()
197     {
198         //
199
// TODO : implement
200
//
201
return "";
202     }
203      
204     /**
205      ** Implementation of the ::coachEmfServicesComponents::CCM_LogNamedComponent_Executor::name attribute as mutator operation.
206      **/

207     public void
208     name(java.lang.String JavaDoc val)
209     {
210         //
211
// TODO : implement
212
//
213
}
214     // ==================================================================
215
//
216
// Public methods for the ::coachEmfServices::EmfBasicLog::CCM_BasicLog local interface.
217
//
218
// ==================================================================
219
//
220
// IDL:coach.ist/coachEmfServices/EmfBasicLog/BasicLog/destroy:1.0
221
//
222
/**
223      ** Implementation of the ::coachEmfServices::EmfBasicLog::BasicLog::destroy operation.
224      **/

225     public void
226     destroy()
227     {
228         //
229
// TODO : implement
230
//
231
}
232     //
233
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/my_factory:1.0
234
//
235
/**
236      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::my_factory operation.
237      **/

238     public ist.coach.coachEmfServices.EmfBasicLog.LogMgr
239     my_factory()
240     {
241         //
242
// TODO : implement
243
//
244
return null;
245     }
246     //
247
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/id:1.0
248
//
249
/**
250      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::id operation.
251      **/

252     public int
253     id()
254     {
255         //
256
// TODO : implement
257
//
258
return -1;
259     }
260     //
261
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_log_qos:1.0
262
//
263
/**
264      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_log_qos operation.
265      **/

266     public short[]
267     get_log_qos()
268     {
269         //
270
// TODO : implement
271
//
272
return null;
273     }
274     //
275
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_log_qos:1.0
276
//
277
/**
278      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_log_qos operation.
279      **/

280     public void
281     set_log_qos(short[] qos)
282     throws ist.coach.coachEmfServices.EmfBasicLog.UnsupportedQoS
283     {
284         //
285
// TODO : implement
286
//
287
}
288     //
289
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_max_size:1.0
290
//
291
/**
292      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_max_size operation.
293      **/

294     public long
295     get_max_size()
296     {
297         //
298
// TODO : implement
299
//
300
return 0;
301     }
302     //
303
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_max_size:1.0
304
//
305
/**
306      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_max_size operation.
307      **/

308     public void
309     set_max_size(long size)
310     throws ist.coach.coachEmfServices.EmfBasicLog.InvalidParam
311     {
312         //
313
// TODO : implement
314
//
315
}
316     //
317
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_current_size:1.0
318
//
319
/**
320      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_current_size operation.
321      **/

322     public long
323     get_current_size()
324     {
325         //
326
// TODO : implement
327
//
328
return 0;
329     }
330     //
331
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_n_records:1.0
332
//
333
/**
334      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_n_records operation.
335      **/

336     public long
337     get_n_records()
338     {
339         //
340
// TODO : implement
341
//
342
return 0;
343     }
344     //
345
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_log_full_action:1.0
346
//
347
/**
348      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_log_full_action operation.
349      **/

350     public short
351     get_log_full_action()
352     {
353         //
354
// TODO : implement
355
//
356
return -1;
357     }
358     //
359
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_log_full_action:1.0
360
//
361
/**
362      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_log_full_action operation.
363      **/

364     public void
365     set_log_full_action(short action)
366     throws ist.coach.coachEmfServices.EmfBasicLog.InvalidLogFullAction
367     {
368         //
369
// TODO : implement
370
//
371
}
372     //
373
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_administrative_state:1.0
374
//
375
/**
376      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_administrative_state operation.
377      **/

378     public ist.coach.coachEmfServices.EmfBasicLog.AdministrativeState
379     get_administrative_state()
380     {
381         //
382
// TODO : implement
383
//
384
return null;
385     }
386     //
387
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_administrative_state:1.0
388
//
389
/**
390      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_administrative_state operation.
391      **/

392     public void
393     set_administrative_state(ist.coach.coachEmfServices.EmfBasicLog.AdministrativeState admin_state)
394     {
395         //
396
// TODO : implement
397
//
398
}
399     //
400
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_operational_state:1.0
401
//
402
/**
403      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_operational_state operation.
404      **/

405     public ist.coach.coachEmfServices.EmfBasicLog.OperationalState
406     get_operational_state()
407     {
408         //
409
// TODO : implement
410
//
411
return null;
412     }
413     //
414
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_capacity_alarm_thresholds:1.0
415
//
416
/**
417      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_capacity_alarm_thresholds operation.
418      **/

419     public short[]
420     get_capacity_alarm_thresholds()
421     {
422         //
423
// TODO : implement
424
//
425
return null;
426     }
427     //
428
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_capacity_alarm_thresholds:1.0
429
//
430
/**
431      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_capacity_alarm_thresholds operation.
432      **/

433     public void
434     set_capacity_alarm_thresholds(short[] threshs)
435     throws ist.coach.coachEmfServices.EmfBasicLog.InvalidThreshold
436     {
437         //
438
// TODO : implement
439
//
440
}
441     //
442
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/retrieve:1.0
443
//
444
/**
445      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::retrieve operation.
446      **/

447     public ist.coach.coachEmfServices.EmfBasicLog.LogRecord[]
448     retrieve(long from_time, int how_many, ist.coach.coachEmfServices.EmfBasicLog.IteratorHolder i)
449     {
450         //
451
// TODO : implement
452
//
453
return null;
454     }
455     //
456
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/delete_records_by_id:1.0
457
//
458
/**
459      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::delete_records_by_id operation.
460      **/

461     public int
462     delete_records_by_id(long[] ids)
463     {
464         //
465
// TODO : implement
466
//
467
return 0;
468     }
469     //
470
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/write_records:1.0
471
//
472
/**
473      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::write_records operation.
474      **/

475     public void
476     write_records(org.omg.CORBA.Any JavaDoc[] records)
477     throws ist.coach.coachEmfServices.EmfBasicLog.LogFull, ist.coach.coachEmfServices.EmfBasicLog.LogOffDuty, ist.coach.coachEmfServices.EmfBasicLog.LogLocked, ist.coach.coachEmfServices.EmfBasicLog.LogDisabled
478     {
479         //
480
// TODO : implement
481
//
482
}
483     //
484
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/set_record_attribute:1.0
485
//
486
/**
487      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::set_record_attribute operation.
488      **/

489     public void
490     set_record_attribute(long id, ist.coach.coachEmfServices.EmfBasicLog.NVPair[] attr_list)
491     throws ist.coach.coachEmfServices.EmfBasicLog.InvalidRecordId, ist.coach.coachEmfServices.EmfBasicLog.InvalidAttribute
492     {
493         //
494
// TODO : implement
495
//
496
}
497     //
498
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/get_record_attribute:1.0
499
//
500
/**
501      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::get_record_attribute operation.
502      **/

503     public ist.coach.coachEmfServices.EmfBasicLog.NVPair[]
504     get_record_attribute(long id)
505     throws ist.coach.coachEmfServices.EmfBasicLog.InvalidRecordId
506     {
507         //
508
// TODO : implement
509
//
510
return null;
511     }
512     //
513
// IDL:coach.ist/coachEmfServices/EmfBasicLog/Log/flush:1.0
514
//
515
/**
516      ** Implementation of the ::coachEmfServices::EmfBasicLog::Log::flush operation.
517      **/

518     public void
519     flush()
520     throws ist.coach.coachEmfServices.EmfBasicLog.UnsupportedQoS
521     {
522         //
523
// TODO : implement
524
//
525
}
526 }
527
Popular Tags