org.omg.PortableServer
Class CurrentHelper

java.lang.Object
  extended by org.omg.PortableServer.CurrentHelper

public abstract class CurrentHelper
extends Object

The helper operations for the CORBA object Current.


Constructor Summary
CurrentHelper()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentHelper

public CurrentHelper()
Method Detail

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".

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.

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.

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.

write

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

Throws:
NO_IMPLEMENT - always.