public abstract class NamingContextHelper extends java.lang.Object
| Constructor and Description |
|---|
NamingContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
static NamingContext |
extract(org.omg.CORBA.Any a)
Extract the naming context from the given
Any. |
static java.lang.String |
id()
Get the
NamingContext repository id. |
static void |
insert(org.omg.CORBA.Any a,
NamingContext that)
Insert the naming context into the given
Any |
static NamingContext |
narrow(org.omg.CORBA.Object obj)
Cast the passed object into the NamingContext.
|
static NamingContext |
read(org.omg.CORBA.portable.InputStream istream)
Read the naming context from the given CDR input stream.
|
static org.omg.CORBA.TypeCode |
type()
Get the type code of the
NamingContext. |
static NamingContext |
unchecked_narrow(org.omg.CORBA.Object obj)
Narrow the given object to the NamingContext.
|
static void |
write(org.omg.CORBA.portable.OutputStream ostream,
NamingContext value)
Write the given naming context into the given CDR output stream.
|
public NamingContextHelper()
public static NamingContext extract(org.omg.CORBA.Any a)
Any.public static java.lang.String id()
NamingContext repository id.public static void insert(org.omg.CORBA.Any a, NamingContext that)
Anypublic static NamingContext narrow(org.omg.CORBA.Object obj)
NamingContextExt that is a subclass of the NamingContext,
the functionality is delegated to narrow(org.omg.CORBA.Object).obj - the object to cast.org.omg.CORBA.BAD_PARAM - if the passed object is not an instance of
NamingContext or NamingContextExt.public static NamingContext unchecked_narrow(org.omg.CORBA.Object obj)
BAD_OPERATION will be thrown if unsupported operations are invoked
on the new returned reference, but no failure is expected at the time of
the unchecked_narrow. See OMG issue 4158.obj - the object to cast.public static NamingContext read(org.omg.CORBA.portable.InputStream istream)
public static org.omg.CORBA.TypeCode type()
NamingContext.public static void write(org.omg.CORBA.portable.OutputStream ostream, NamingContext value)