1 |
Each holder class has a constructor from an instance, a default constructor, and has a public instance member, value, which is the typed value.
|
2 |
The default constructor sets the value field to the default value for the type as defined by the Java language:
-
false for boolean, 0 for numeric and char types, null for strings, null for object references.
|
3 |
In order to support portable stubs and skeletons, holder classes for user defined types also have to implement the org.omg.CORBA.portable.Streamable interface.
|
4 |
The holder classes for the basic types are illustrated on next foil. Note that they do not implement the Streamable interface. They are in the org.omg.CORBA package.
|