org.omg.PortableServer
Constructor and Description |
---|
POAHelper() |
Modifier and Type | Method and Description |
---|---|
static POA |
extract(Any any)
Extract the POA from given Any.
|
static String |
id()
Get the POA repository id.
|
static void |
insert(Any any,
POA that)
Insert the POA into the given Any.
|
static POA |
narrow(Object obj)
Cast the passed object into the POA.
|
static POA |
read(InputStream input)
This should read POA from the CDR input stream, but, following the specs,
it doesnot.
|
static TypeCode |
type()
Get the type code of the
POA . |
static void |
write(OutputStream output,
POA value)
This should read POA from the CDR input stream, but, following the specs,
it doesnot.
|
public POAHelper()
public static POA narrow(Object obj)
obj
- the object to narrow.BAD_PARAM
- if the passed object is not a POA.public static void insert(Any any, POA that)
any
- the Any to insert into.that
- the POA to insert.public static POA extract(Any any)
BAD_OPERATION
- if the passed Any does not contain POA.public static String id()
public static POA read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.MARSHAL,
- always.public static void write(OutputStream output, POA value)
output
- a org.omg.CORBA.portable stream to write into.MARSHAL,
- always.