org.omg.PortableServer
public abstract class CurrentHelper extends Object
Current
.Constructor and Description |
---|
CurrentHelper() |
Modifier and Type | Method and Description |
---|---|
static Current |
extract(Any any)
Extract the POA Current from given Any.
|
static String |
id()
Get the POA Current repository id.
|
static void |
insert(Any any,
Current that)
Insert the POA Current into the given Any.
|
static Current |
narrow(Object obj)
Cast the passed object into the POA Current.
|
static Current |
read(InputStream input)
Not supported for compatibility reasons.
|
static TypeCode |
type()
Get the type code of the POA Current.
|
static void |
write(OutputStream output,
Current value)
Not supported for compatibility reasons.
|
public CurrentHelper()
public static TypeCode type()
public static void insert(Any any, Current that)
any
- the Any to insert into.that
- the POA Current to insert.public static Current extract(Any any)
BAD_OPERATION
- if the passed Any does not contain a POA Current.public static String id()
public static Current narrow(Object obj)
obj
- the object to narrow.BAD_PARAM
- if the passed object is not a Current.public static Current read(InputStream input)
NO_IMPLEMENT
- always.public static void write(OutputStream output, Current value)
NO_IMPLEMENT
- always.