KickJava   Java API By Example, From Geeks To Geeks.

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


1 package ist.coach.coachEmfCommon;
2
3 import ist.coach.itut_q816Components.StateChangedEventHelper;
4
5 /**
6  * @author Administrator (digi@intracom.gr)
7  *
8  * Copyright (c) Intracom S.A., N.T., 2003
9  */

10 public class StateChangedEventFactory implements org.omg.CORBA.portable.ValueFactory JavaDoc {
11     
12     public StateChangedEventFactory() {}
13     
14     public java.io.Serializable JavaDoc read_value(org.omg.CORBA_2_3.portable.InputStream JavaDoc in) {
15         java.io.Serializable JavaDoc v = new StateChangedEventImpl();
16         return in.read_value(v);
17     }
18
19     public static void
20     register() {
21
22         org.objectweb.ccm.Components.Runtime.register_value_factory(
23             StateChangedEventHelper.id(),
24             new StateChangedEventFactory());
25     }
26
27 }
28
Popular Tags