idl2javaコンパイラによって,ユーザ定義型ごとにホルダークラスが生成されます。これは,outパラメタとinoutパラメタとして渡される場合,<interface_name>インタフェースをサポートするオブジェクトをラッピングするオブジェクトのクラスを提供します。
public final class exampleHolder implements
org.omg.CORBA.portable.Streamable {
public foo.example value;
public exampleHolder (){
}
public exampleHolder (final foo.example _vis_value){
. . .
}
public void _read (
final org.omg.CORBA.portable.InputStream input){
. . .
}
public void _write (
final org.omg.CORBA.portable.OutputStream output){
. . .
}
public org.omg.CORBA.TypeCode _type (){
. . .
}
}