org.omg.PortableServer

Class CurrentHelper

public abstract class CurrentHelper extends Object

The helper operations for the CORBA object {@link Current}.
Method Summary
static Currentextract(Any any)
Extract the POA Current from given Any.
static Stringid()
Get the POA Current repository id.
static voidinsert(Any any, Current that)
Insert the POA Current into the given Any.
static Currentnarrow(Object obj)
Cast the passed object into the POA Current.
static Currentread(InputStream input)
Not supported for compatibility reasons.
static TypeCodetype()
Get the type code of the POA Current.
static voidwrite(OutputStream output, Current value)
Not supported for compatibility reasons.

Method Detail

extract

public static Current extract(Any any)
Extract the POA Current from given Any.

Throws: BAD_OPERATION if the passed Any does not contain a POA Current.

id

public static String id()
Get the POA Current repository id.

Returns: "IDL:omg.org/PortableServer/Current:2.3", always.

insert

public static void insert(Any any, Current that)
Insert the POA Current into the given Any.

Parameters: any the Any to insert into. that the POA Current to insert.

narrow

public static Current narrow(Object obj)
Cast the passed object into the POA Current.

Parameters: obj the object to narrow.

Returns: narrowed instance.

Throws: BAD_PARAM if the passed object is not a Current.

read

public static Current read(InputStream input)
Not supported for compatibility reasons.

Throws: NO_IMPLEMENT always.

UNKNOWN: Not supported by Sun at least till jdk 1.4 inclusive.

type

public static TypeCode type()
Get the type code of the POA Current.

Returns: a type code of the object with POA Current id, named "Current".

write

public static void write(OutputStream output, Current value)
Not supported for compatibility reasons.

Throws: NO_IMPLEMENT always.

UNKNOWN: Not supported by Sun at least till jdk 1.4 inclusive.