KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
24  ** Implementation skeleton class for the ::coachEmfServicesComponents::SnmpAdapterProviderHome home.
25  ** Business operations MUST be completed !!!
26  **/

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

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

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

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

57     // ==================================================================
58
//
59
// Public methods for the CCM_SnmpAdapterProviderHome local interface.
60
//
61
// ==================================================================
62

63     //
64
// IDL:coach.ist/coachEmfServicesComponents/CCM_SnmpAdapterProviderHomeImplicit/create:1.0
65
//
66
/**
67      ** Implementation of the ::coachEmfServicesComponents::CCM_SnmpAdapterProviderHomeImplicit::create operation.
68      **/

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

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

90     public static org.omg.Components.HomeExecutorBase
91     create_home()
92     {
93         return new SnmpAdapterProviderHomeImpl();
94     }
95
96     // Executed once at the loading of this class
97
// by the OpenCCM Component Server.
98

99     static
100     {
101     ist.coach.coachEmfCommon.DataTypeFactory.register();
102     }
103 }
104
Popular Tags