org.omg.PortableServer
public abstract class POAHelper extends Object
Method Summary | |
---|---|
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 {@link POA}. |
static void | write(OutputStream output, POA value)
This should read POA from the CDR input stream, but, following the specs,
it doesnot. |
Throws: BAD_OPERATION if the passed Any does not contain POA.
Returns: "IDL:omg.org/PortableServer/POA:2.3", always.
Parameters: any the Any to insert into. that the POA to insert.
Parameters: obj the object to narrow.
Returns: narrowed instance.
Throws: BAD_PARAM if the passed object is not a POA.
Parameters: input a org.omg.CORBA.portable stream to read from.
Throws: MARSHAL, always.
UNKNOWN: Sun throws the same exception.
Parameters: output a org.omg.CORBA.portable stream to write into.
Throws: MARSHAL, always.
UNKNOWN: Sun throws the same exception.