KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > itut_m3120Components > ManagedElementFactoryProviderComposition > ManagedElementFactoryProviderHomeImpl


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

28
29 package ist.coach.itut_m3120Components.ManagedElementFactoryProviderComposition;
30
31
32 /**
33  * This is the CIDL-based implementation of
34  * OMG IDL3 IDL:coach.ist/itut_m3120Components/ManagedElementFactoryProviderHome:1.0 home type.
35  *
36  * This class inherits from the generated home executor skeleton class
37  * defined by OMG CIDL ist.coach.itut_m3120Components.ManagedElementFactoryProviderComposition.ManagedElementFactoryProviderHome_impl
38  *
39  * @author OpenCCM CIF_Jimpl Compiler.
40  */

41 public class ManagedElementFactoryProviderHomeImpl
42      extends ist.coach.itut_m3120Components.ManagedElementFactoryProviderComposition.ManagedElementFactoryProviderHome_impl
43 {
44     // ==================================================================
45
//
46
// Internal states.
47
//
48
// ==================================================================
49

50     // ==================================================================
51
//
52
// Constructors.
53
//
54
// ==================================================================
55

56     public ManagedElementFactoryProviderHomeImpl()
57     {
58     }
59
60     // ==================================================================
61
//
62
// Methods.
63
//
64
// ==================================================================
65

66     /**
67      * Method for the org.objectweb.ccm.runtime.cif.api.SegmentHome interface.
68      *
69      * Create an executor segment from its identifier.
70      *
71      * @param segid - The executor segment identifier.
72      *
73      * @return - The executor segment created.
74      */

75     public org.omg.Components.ExecutorSegmentBase
76     create_executor_segment(int segid)
77     {
78         switch (segid)
79         {
80             default :
81                 return new ist.coach.itut_m3120Components.ManagedElementFactoryProviderComposition.ManagedElementFactoryProviderImpl();
82         }
83     }
84
85     /**
86      * This method is called by the OpenCCM Component Server
87      * to create a home instance.
88      *
89      * @return - The created home.
90      */

91     public static org.omg.Components.HomeExecutorBase
92     create_home()
93     {
94             return new ist.coach.itut_m3120Components.ManagedElementFactoryProviderComposition.ManagedElementFactoryProviderHomeImpl();
95     }
96
97 }
98
Popular Tags