tests/libjava-mauve/src/gnu/testlet/org/omg/CORBA_2_3/ORB/Valtype/cmInfoDefaultFactory.java
branchjk_new_structure
changeset 1541 75c2e24dea9a
parent 1540 92ac284961c1
child 1542 be11db817bcf
equal deleted inserted replaced
1540:92ac284961c1 1541:75c2e24dea9a
     1 /*
       
     2 * This file is part of the CORBA 2_3 tests, the test executable
       
     3 * class being gnu.testlet.org.omg.CORBA_2_3.ORB.ValueTypeTest.
       
     4 * Due large number of the required classes, they are moved into
       
     5 * a separate package, Valuetype.
       
     6 *
       
     7 * @author Audrius Meskauskas (AudriusA@bluewin.ch)
       
     8 */
       
     9 
       
    10 package gnu.testlet.org.omg.CORBA_2_3.ORB.Valtype;
       
    11 
       
    12 import java.io.Serializable;
       
    13 
       
    14 public class cmInfoDefaultFactory
       
    15   implements cmInfoValueFactory
       
    16 {
       
    17   public cmInfo create(String name, String message)
       
    18   {
       
    19     return new cmInfoImpl(name, message);
       
    20   }
       
    21 
       
    22   public Serializable read_value(org.omg.CORBA_2_3.portable.InputStream is)
       
    23   {
       
    24     return is.read_value(new cmInfoImpl());
       
    25   }
       
    26 }