Name

BindingType

Synopsis

A BindingType indicates what type of object is involved in a given binding, a “regular” object or a NamingContext. Its value() method returns an int value that can be compared to the two static int values on the class, to differentiate between these two cases.

                  Passed To
public class BindingType implements org.omg.CORBA.portable.IDLEntity {
// Protected Constructors
   protected BindingType( int value);                            // 1.4
                  // Public Constants
   public static final int _ncontext;                            // =1
   public static final int _nobject;                             // =0
   public static final BindingType ncontext;  
   public static final BindingType nobject;  
// Public Class Methods
   public static BindingType from_int( int value);  
// Public Instance Methods
   public int value();  
}

Passed To

org.omg.CosNaming.Binding.Binding(), BindingTypeHelper.{insert(), write()}, BindingTypeHolder.BindingTypeHolder()

Returned By

BindingType.from_int(), BindingTypeHelper.{extract(), read()}

Type Of

org.omg.CosNaming.Binding.binding_type, BindingType.{ncontext, nobject}, BindingTypeHolder.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.