KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > itut_q816Components > ContainmentServiceProviderHomeImpl


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_q816Components;
22  
23 /**
24  ** Implementation skeleton class for the
25     ::itut_q816Components::ContainmentServiceProviderHome home.
26  ** Business operations MUST be completed !!!
27  **/

28 public class ContainmentServiceProviderHomeImpl
29        extends org.omg.CORBA.LocalObject JavaDoc
30        implements CCM_ContainmentServiceProviderHome
31 {
32     // ==================================================================
33
//
34
// Internal State.
35
//
36
// ===================================================================
37

38     // ==================================================================
39
//
40
// Constructor.
41
//
42
// ===================================================================
43

44     /**
45      ** The default constructor.
46      **/

47     public
48     ContainmentServiceProviderHomeImpl()
49     {
50     }
51      
52     // ==================================================================
53
//
54
// Internal methods.
55
//
56
// ===================================================================
57

58     // ==================================================================
59
//
60
// Public methods for the CCM_ContainmentServiceProviderHome local interface.
61
//
62
// ==================================================================
63

64     //
65
// IDL:coach.ist/itut_q816Components/CCM_ContainmentServiceProviderHomeImplicit/create:1.0
66
//
67
/**
68      ** Implementation of the ::itut_q816Components::CCM_ContainmentServiceProviderHomeImplicit::create operation.
69      **/

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

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

92     public static org.omg.Components.HomeExecutorBase
93     create_home()
94     {
95         return new ContainmentServiceProviderHomeImpl();
96     }
97
98
99     // Executed once at the loading of this class
100
// by the OpenCCM Component Server.
101
static
102     {
103         ist.coach.coachEmfCommon.ApplicationErrorInfoTypeFactory.register();
104         ist.coach.coachEmfCommon.CreateErrorInfoTypeFactory.register();
105         ist.coach.coachEmfCommon.DeleteErrorInfoTypeFactory.register();
106     }
107
108 }
109
Popular Tags