KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mark > AddDataDefaultFactory


1 package mark;
2
3
4 /**
5 * mark/AddDataDefaultFactory.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.1"
7 * from W:/Geronimo/corba_container/tests/corba_idl/idl/Add.idl
8 * Monday, December 20, 2004 4:06:00 PM EST
9 */

10
11 public class AddDataDefaultFactory implements AddDataValueFactory {
12
13   public AddData createAD (int a)
14   {
15     return new AddDataImpl (a);
16   }
17
18   public java.io.Serializable read_value (org.omg.CORBA_2_3.portable.InputStream is)
19   {
20     return is.read_value(new AddDataImpl ());
21   }
22 }
23
Popular Tags