KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*====================================================================
2 This 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): ______________________________________.
20 ====================================================================*/

21 package ist.coach.coachEmfServicesComponents;
22
23 import ist.coach.coachEmfCommon.ObjectCreationFactory;
24 import ist.coach.coachEmfCommon.ObjectDeletionFactory;
25 import ist.coach.coachEmfCommon.OperationalViolationFactory;
26 import ist.coach.coachEmfCommon.StateChangedEventFactory;
27 import ist.coach.coachEmfCommon.ChannelChangeEventFactory;
28 import ist.coach.coachEmfCommon.HeartbeatFactory;
29  
30 /**
31  ** Implementation skeleton class for the ::coachEmfServicesComponents::AlarmChannelProviderHome home.
32  ** Business operations MUST be completed !!!
33  **/

34 public class AlarmChannelProviderHomeImpl
35        extends org.omg.CORBA.LocalObject JavaDoc
36        implements CCM_AlarmChannelProviderHome
37 {
38     // ==================================================================
39
//
40
// Internal State.
41
//
42
// ===================================================================
43

44     // ==================================================================
45
//
46
// Constructor.
47
//
48
// ===================================================================
49

50     /**
51      ** The default constructor.
52      **/

53     public
54     AlarmChannelProviderHomeImpl()
55     {
56     }
57      
58     // ==================================================================
59
//
60
// Internal methods.
61
//
62
// ===================================================================
63

64     // ==================================================================
65
//
66
// Public methods for the CCM_AlarmChannelProviderHome local interface.
67
//
68
// ==================================================================
69

70     //
71
// IDL:coach.ist/coachEmfServicesComponents/CCM_AlarmChannelProviderHomeImplicit/create:1.0
72
//
73
/**
74      ** Implementation of the ::coachEmfServicesComponents::CCM_AlarmChannelProviderHomeImplicit::create operation.
75      **/

76     public org.omg.Components.EnterpriseComponent
77     create()
78     throws org.omg.Components.CCMException
79     {
80         //
81
// DONE : implement
82
//
83
return new AlarmChannelProviderMonolithicImpl();
84     }
85     // ==================================================================
86
//
87
// Deployment entry point.
88
//
89
// ===================================================================
90

91     /**
92      ** This method is called by the deployment framework
93      ** to create a home instance.
94      ** You are free to choose another operation name, but
95      ** the signature MUST be the same.
96      **/

97     public static org.omg.Components.HomeExecutorBase
98     create_home()
99     {
100         return new AlarmChannelProviderHomeImpl();
101     }
102
103        // Executed once at the loading of this class
104
// by the OpenCCM Component Server.
105
static {
106
107         ObjectCreationFactory.register();
108         ObjectDeletionFactory.register();
109         OperationalViolationFactory.register();
110         StateChangedEventFactory.register();
111         ChannelChangeEventFactory.register();
112         HeartbeatFactory.register();
113     }
114 }
115
Popular Tags