KickJava   Java API By Example, From Geeks To Geeks.

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


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.itut_x780Components;
22  
23 import ist.coach.coachEmfCommon.ManagedObjectValueTypeFactory;
24 import ist.coach.coachEmfCommon.ApplicationErrorInfoTypeFactory;
25 import ist.coach.coachEmfCommon.CreateErrorInfoTypeFactory;
26 import ist.coach.coachEmfCommon.DeleteErrorInfoTypeFactory;
27 /**
28  ** Implementation skeleton class for the ::itut_x780Components::ManagedObjectProviderHome home.
29  ** Business operations MUST be completed !!!
30  **/

31 public class ManagedObjectProviderHomeImpl
32        extends org.omg.CORBA.LocalObject JavaDoc
33        implements CCM_ManagedObjectProviderHome
34 {
35     // ==================================================================
36
//
37
// Internal State.
38
//
39
// ===================================================================
40

41     // ==================================================================
42
//
43
// Constructor.
44
//
45
// ===================================================================
46

47     /**
48      ** The default constructor.
49      **/

50     public
51     ManagedObjectProviderHomeImpl()
52     {
53     }
54      
55     // ==================================================================
56
//
57
// Internal methods.
58
//
59
// ===================================================================
60

61     // ==================================================================
62
//
63
// Public methods for the CCM_ManagedObjectProviderHome local interface.
64
//
65
// ==================================================================
66

67     //
68
// IDL:coach.ist/itut_x780Components/CCM_ManagedObjectProviderHomeImplicit/create:1.0
69
//
70
/**
71      ** Implementation of the ::itut_x780Components::CCM_ManagedObjectProviderHomeImplicit::create operation.
72      **/

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

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

94     public static org.omg.Components.HomeExecutorBase
95     create_home()
96     {
97         return new ManagedObjectProviderHomeImpl();
98     }
99
100    // Executed once at the loading of this class
101
// by the OpenCCM Component Server.
102
static
103     {
104
105         // Required to register the ManagedObjectValueTypeFactory to the ORB.
106
ManagedObjectValueTypeFactory.register();
107         ApplicationErrorInfoTypeFactory.register();
108         CreateErrorInfoTypeFactory.register();
109         DeleteErrorInfoTypeFactory.register();
110     }
111 }
112
Popular Tags