KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfCommon > ApplicationErrorInfoTypeFactory


1 /*====================================================================
2
3 Copyright (C) 2002 INTRACOM/COACH Project
4 Contact: fset@intracom.gr
5
6 Initial developer(s): Fofy Setaki.
7 Contributor(s): ______________________________________.
8
9 ====================================================================*/

10 package ist.coach.coachEmfCommon;
11
12 import intt.itu.itut_x780.ApplicationErrorInfoTypeHelper;
13
14
15 /**
16  * This is the implementation of the OMG IDL3
17  * itut_x780Components::ApplicationErrorInfoType valuetype factory.
18  *
19  */

20 public class ApplicationErrorInfoTypeFactory
21 implements org.omg.CORBA.portable.ValueFactory JavaDoc {
22
23        // ==================================================================
24
//
25
// Methods for OMG IDL org.omg.CORBA.portable.ValueFactory
26
//
27
// ==================================================================
28

29     /**
30      * To read a ApplicationErrorInfoTypeImpl on a CORBA stream.
31      */

32     public java.io.Serializable JavaDoc
33     read_value(org.omg.CORBA_2_3.portable.InputStream JavaDoc in) {
34
35         java.io.Serializable JavaDoc v = new ApplicationErrorInfoTypeImpl();
36          return in.read_value(v);
37     }
38
39         // ==================================================================
40
//
41
// Public static methods.
42
//
43
// ==================================================================
44

45     /**
46      * Register the value type factory on the ORB.
47      */

48     public static void
49     register() {
50     
51         org.objectweb.ccm.Components.Runtime.register_value_factory(
52             ApplicationErrorInfoTypeHelper.id(),
53             new ApplicationErrorInfoTypeFactory());
54     }
55
56 }
57
58
Popular Tags