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.coachEmfClientComponents; 22 23 import ist.coach.coachEmfCommon.ManagedObjectValueTypeFactory; 24 import ist.coach.coachEmfCommon.ManagedElementValueTypeFactory; 25 import ist.coach.coachEmfCommon.ApplicationErrorInfoTypeFactory; 26 import ist.coach.coachEmfCommon.CreateErrorInfoTypeFactory; 27 import ist.coach.coachEmfCommon.DeleteErrorInfoTypeFactory; 28 import ist.coach.coachEmsCommon.*; 29 30 import ist.coach.coachEmfCommon.ObjectCreationFactory; 31 import ist.coach.coachEmfCommon.ObjectDeletionFactory; 32 import ist.coach.coachEmfCommon.OperationalViolationFactory; 33 import ist.coach.coachEmfCommon.StateChangedEventFactory; 34 import ist.coach.coachEmfCommon.ChannelChangeEventFactory; 35 import ist.coach.coachEmfCommon.HeartbeatFactory; 36 37 /** 38 ** Implementation skeleton class for the ::coachEmfClientComponents::ManagedObjectClientHome home. 39 ** Business operations MUST be completed !!! 40 **/ 41 public class ManagedObjectClientHomeImpl 42 extends org.omg.CORBA.LocalObject 43 implements CCM_ManagedObjectClientHome 44 { 45 // ================================================================== 46 // 47 // Internal State. 48 // 49 // =================================================================== 50 51 // ================================================================== 52 // 53 // Constructor. 54 // 55 // =================================================================== 56 57 /** 58 ** The default constructor. 59 **/ 60 public 61 ManagedObjectClientHomeImpl() 62 { 63 } 64 65 // ================================================================== 66 // 67 // Internal methods. 68 // 69 // =================================================================== 70 71 // ================================================================== 72 // 73 // Public methods for the CCM_ManagedObjectClientHome local interface. 74 // 75 // ================================================================== 76 77 // 78 // IDL:coach.ist/coachEmfClientComponents/CCM_ManagedObjectClientHomeImplicit/create:1.0 79 // 80 /** 81 ** Implementation of the ::coachEmfClientComponents::CCM_ManagedObjectClientHomeImplicit::create operation. 82 **/ 83 public org.omg.Components.EnterpriseComponent 84 create() 85 throws org.omg.Components.CCMException 86 { 87 // 88 // DONE : implement 89 // 90 return new ManagedObjectClientMonolithicImpl(); 91 } 92 // ================================================================== 93 // 94 // Deployment entry point. 95 // 96 // =================================================================== 97 98 /** 99 ** This method is called by the deployment framework 100 ** to create a home instance. 101 ** You are free to choose another operation name, but 102 ** the signature MUST be the same. 103 **/ 104 public static org.omg.Components.HomeExecutorBase 105 create_home() 106 { 107 return new ManagedObjectClientHomeImpl(); 108 } 109 // Executed once at the loading of this class 110 // by the OpenCCM Component Server. 111 112 static 113 { 114 115 // Required to register the ManagedObjectValueTypeFactory to the ORB. 116 ManagedObjectValueTypeFactory.register(); 117 ManagedElementValueTypeFactory.register(); 118 IpNodeValueTypeFactory.register(); 119 LogicalInterfaceValueTypeFactory.register(); 120 IpProtocolMonitorValueTypeFactory.register(); 121 122 ApplicationErrorInfoTypeFactory.register(); 123 CreateErrorInfoTypeFactory.register(); 124 DeleteErrorInfoTypeFactory.register(); 125 126 ObjectCreationFactory.register(); 127 ObjectDeletionFactory.register(); 128 OperationalViolationFactory.register(); 129 StateChangedEventFactory.register(); 130 ChannelChangeEventFactory.register(); 131 HeartbeatFactory.register(); 132 133 } 134 } 135