org.omg.CosNaming
public abstract class NamingContextHelper extends Object
Method Summary | |
---|---|
static NamingContext | extract(Any a)
Extract the naming context from the given {@link Any}. |
static String | id()
Get the {@link NamingContext} repository id. |
static void | insert(Any a, NamingContext that)
Insert the naming context into the given {@link 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 {@link 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. |
Parameters: obj the object to cast.
Returns: casted instance.
Throws: BAD_PARAM if the passed object is not an instance of {@link NamingContext} or {@link NamingContextExt}.
Parameters: obj the object to cast.
Returns: the casted NamingContext.