1 /*==================================================================== 2 Tnis 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 22 package ist.coach.coachEmfServicesComponents; 23 24 /** 25 ** Implementation skeleton class for the ::coachEmfServicesComponents::LogThresholdAlarm event factory. 26 ** Business operations MUST be completed !!! 27 **/ 28 public class LogThresholdAlarmFactoryImpl 29 implements org.omg.CORBA.portable.ValueFactory 30 { 31 // ================================================================== 32 // 33 // Internal State. 34 // 35 // =================================================================== 36 37 // ================================================================== 38 // 39 // Constructor. 40 // 41 // =================================================================== 42 43 // ================================================================== 44 // 45 // Methods for the org.omg.CORBA.portable.ValueFactory interface. 46 // 47 // ================================================================== 48 49 /** 50 ** To read an LogThresholdAlarmImpl on a CORBA stream. 51 **/ 52 public java.io.Serializable 53 read_value(org.omg.CORBA_2_3.portable.InputStream in) 54 { 55 java.io.Serializable v = new LogThresholdAlarmImpl(); 56 return in.read_value(v); 57 } 58 59 // ================================================================== 60 // 61 // Public static methods. 62 // 63 // ================================================================== 64 65 /** 66 ** Register the valuetype factory to the ORB. 67 **/ 68 public static void 69 register() 70 { 71 LogThresholdAlarmFactoryHelper.register(new LogThresholdAlarmFactoryImpl()); 72 } 73 } 74