aboutsummaryrefslogtreecommitdiff
path: root/gnu/testlet/org/omg/CORBA_2_3/ORB/Valtype/InfoDefaultFactory.java
blob: b35a45dc8569c3d11ade162aba593a738d0b7c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* This file is part of the CORBA 2_3 tests, the test executable
* class being gnu.testlet.org.omg.CORBA_2_3.ORB.ValueTypeTest.
* Due large number of the required classes, they are moved into
* a separate package, Valuetype.
*
* @author Audrius Meskauskas (AudriusA@bluewin.ch)
*/

package gnu.testlet.org.omg.CORBA_2_3.ORB.Valtype;

public class InfoDefaultFactory
  implements InfoValueFactory
{
  public Info create(String name, String message)
  {
    return new InfoImpl(name, message);
  }

  public java.io.Serializable read_value(org.omg.CORBA_2_3.portable.InputStream is)
  {
    return is.read_value(new InfoImpl());
  }
}