KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmsCommon > SnmpProtocolMonitorValueTypeFactory


1 /*====================================================================
2
3 This file was produced by the OpenCCM CIF_JIMPL generator.
4
5 OpenCCM: The Open CORBA Component Model Platform
6 Copyright (C) 2000-2003 INRIA - USTL - LIFL - GOAL
7 Contact: openccm@objectweb.org
8
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or any later version.
13
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public
20 License along with this library; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA
23
24 Initial developer(s): Christophe Demarey.
25 Contributor(s): ______________________________________.
26
27 ====================================================================*/

28
29 package ist.coach.coachEmsCommon;
30
31 import ist.coach.coachEmsMib.SnmpProtocolMonitorValueTypeHelper;
32 /**
33  * Implementation skeleton class for the IDL:coach.ist/coachEmsMib/SnmpProtocolMonitorValueType:1.0 declaration factory.
34  *
35  * @author OpenCCM CIF_Jimpl Compiler.
36  */

37 public class SnmpProtocolMonitorValueTypeFactory
38   implements org.omg.CORBA.portable.ValueFactory JavaDoc
39 {
40     // ==================================================================
41
//
42
// Internal states.
43
//
44
// ==================================================================
45

46     // ==================================================================
47
//
48
// Constructors.
49
//
50
// ==================================================================
51

52     public SnmpProtocolMonitorValueTypeFactory()
53     {
54     }
55
56     // ==================================================================
57
//
58
// Methods.
59
//
60
// ==================================================================
61

62     /**
63      * Method for the org.omg.CORBA.portable.ValueFactory interface.
64      *
65      * To read SnmpProtocolMonitorValueType on a CORBA stream.
66      */

67     public java.io.Serializable JavaDoc
68     read_value(org.omg.CORBA_2_3.portable.InputStream JavaDoc in)
69     {
70         java.io.Serializable JavaDoc v = new SnmpProtocolMonitorValueTypeImpl();
71         return in.read_value(v);
72     }
73
74     /**
75      * Register the valuetype factory to the ORB.
76      */

77     public static void
78     register()
79     {
80         //SnmpProtocolMonitorValueTypeFactoryHelper.register(new SnmpProtocolMonitorValueTypeFactory());
81
org.objectweb.ccm.Components.Runtime.register_value_factory(
82           SnmpProtocolMonitorValueTypeHelper.id(),
83           new SnmpProtocolMonitorValueTypeFactory());
84     }
85
86 }
87
Popular Tags