Name

NameHolder

Synopsis

The holder class for out and inout IDL method arguments that are typed as an IDL Name. An IDL typedef in the Naming Service specification associates the type Name to a sequence of NameComponents, so any in arguments using this type are mapped to NameComponent arrays in Java, and any out or inout arguments are mapped to NameHolders. See Chapter 4 for more information on the uses of holder classes.

                  
public final class NameHolder implements org.omg.CORBA.portable.Streamable {
// Public Constructors
   public NameHolder();  
   public NameHolder( NameComponent[] initialValue);  
// Methods Implementing Streamable
   public void _read( org.omg.CORBA.portable.InputStream i);  
   public org.omg.CORBA.TypeCode _type();  
   public void _write(org.omg.CORBA.portable.OutputStream o);  
// Public Instance Fields
   public NameComponent[] value;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.