public abstract class NamingContextHelper extends Object
| Constructor and Description |
|---|
NamingContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
static NamingContext |
extract(Any a)
Extract the naming context from the given
Any. |
static String |
id()
Get the
NamingContext repository id. |
static void |
insert(Any a,
NamingContext that)
Insert the naming context into the given
Any |
static NamingContext |
narrow(Object obj)
Cast the passed object into the NamingContext.
|
static NamingContext |
read(InputStream istream)
Read the naming context from the given CDR input stream.
|
static TypeCode |
type()
Get the type code of the
NamingContext. |
static NamingContext |
unchecked_narrow(Object obj)
Narrow the given object to the NamingContext.
|
static void |
write(OutputStream ostream,
NamingContext value)
Write the given naming context into the given CDR output stream.
|
public NamingContextHelper()
public static NamingContext extract(Any a)
Any.public static String id()
NamingContext repository id.public static void insert(Any a, NamingContext that)
Anypublic static NamingContext narrow(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.BAD_PARAM - if the passed object is not an instance of
NamingContext or NamingContextExt.public static NamingContext unchecked_narrow(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(InputStream istream)
public static TypeCode type()
NamingContext.public static void write(OutputStream ostream, NamingContext value)