tests/libjava-mauve/src/gnu/testlet/org/omg/CORBA_2_3/ORB/Valtype/cmInfoDefaultFactory.java
equal
deleted
inserted
replaced
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 } |
|