40 |
|
|
41 |
import gnu.CORBA.CDR.Vio; |
import gnu.CORBA.CDR.Vio; |
42 |
|
|
43 |
import org.omg.CORBA.MARSHAL; |
import org.omg.CORBA.CustomMarshal; |
44 |
import org.omg.CORBA.portable.BoxedValueHelper; |
import org.omg.CORBA.portable.BoxedValueHelper; |
45 |
import org.omg.CORBA.portable.ValueFactory; |
import org.omg.CORBA.portable.StreamableValue; |
46 |
|
|
47 |
import java.io.Serializable; |
import java.io.Serializable; |
48 |
|
|
78 |
*/ |
*/ |
79 |
public Object read_abstract_interface() |
public Object read_abstract_interface() |
80 |
{ |
{ |
81 |
boolean isValue = read_boolean(); |
boolean isObject = read_boolean(); |
82 |
|
|
83 |
if (isValue) |
if (isObject) |
|
return read_value(); |
|
|
else |
|
84 |
return read_Object(); |
return read_Object(); |
85 |
|
else |
86 |
|
return read_value(); |
87 |
} |
} |
88 |
|
|
89 |
/** |
/** |
192 |
*/ |
*/ |
193 |
public Serializable read_value(String repository_id) |
public Serializable read_value(String repository_id) |
194 |
{ |
{ |
195 |
ValueFactory factory = |
return Vio.read(this, repository_id); |
|
((org.omg.CORBA_2_3.ORB) orb()).lookup_value_factory(repository_id); |
|
|
if (factory == null) |
|
|
throw new MARSHAL("No factory"); |
|
|
return (Serializable) Vio.read(this, null, factory); |
|
196 |
} |
} |
197 |
|
|
198 |
/** |
/** |