org.omg.PortableInterceptor
public abstract class CurrentHelper extends Object
Method Summary | |
---|---|
static Current | extract(Any any)
Extract the Current from given Any.
|
static String | id()
Get the Current repository id.
|
static void | insert(Any any, Current that)
Insert the Current into the given Any.
|
static Current | narrow(Object obj)
Cast the passed object into the Current.
|
static Current | read(InputStream input)
Not supported for compatibility reasons.
|
static TypeCode | type()
Get the type code of the {@link Current}. |
static Current | unchecked_narrow(Object obj)
Narrow the given object to the Current. |
static void | write(OutputStream output, Current value)
Not supported for compatibility reasons.
|
Throws: BAD_OPERATION if the passed Any does not contain Current.
Returns: "org.omg.PortableInterceptor.CurrentOperations", always.
Parameters: any the Any to insert into. that the Current to insert.
Parameters: obj the object to narrow.
Returns: narrowed instance.
Throws: BAD_PARAM if the passed object is not a Current.
Throws: MARSHAL always.
UNKNOWN: Not supported by Sun at least till jdk 1.5 inclusive.
Parameters: obj the object to cast.
Returns: the casted Current.
Since: 1.5
Throws: MARSHAL always.
UNKNOWN: Not supported by Sun at least till jdk 1.5 inclusive.