|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CosNaming.NamingContextHelper
public abstract class NamingContextHelper
The helper operations for the naming context.
| Constructor Summary | |
|---|---|
NamingContextHelper()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamingContextHelper()
| Method Detail |
|---|
public static NamingContext extract(Any a)
Any.
public static String id()
NamingContext repository id.
public static void insert(Any a,
NamingContext that)
Any
public 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||