public abstract class ServantActivatorHelper extends Object
ServantActivator.| Constructor and Description |
|---|
ServantActivatorHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ServantActivator |
extract(Any any)
Extract the ServantActivator from given Any.
|
static String |
id()
Get the ServantActivator repository id.
|
static void |
insert(Any any,
ServantActivator that)
Insert the ServantActivator into the given Any.
|
static ServantActivator |
narrow(Object obj)
Casts the passed object into the ServantActivator.
|
static ServantActivator |
read(InputStream input)
This should read the servant activator, but it cannot be transferred
this way as its operations cannot be remote.
|
static TypeCode |
type()
Get the type code of the
ServantActivator. |
static ServantActivator |
unchecked_narrow(Object obj)
Narrow the given object to the ServantActivator.
|
static void |
write(OutputStream output,
ServantActivator value)
This should write the servant activator, but it cannot be transferred
this way as its operations cannot be remote.
|
public ServantActivatorHelper()
public static TypeCode type()
ServantActivator.public static void insert(Any any, ServantActivator that)
any - the Any to insert into.that - the ServantActivator to insert.public static ServantActivator extract(Any any)
BAD_OPERATION - if the passed Any does not contain ServantActivator.public static String id()
public static ServantActivator narrow(Object obj)
obj - the object to cast.BAD_PARAM - if the passed object is not a ServantActivator.public static ServantActivator unchecked_narrow(Object obj)
narrow(org.omg.CORBA.Object) (ClassCastException will be thrown if narrowing something
different). See OMG issue 4158.obj - the object to cast.public static ServantActivator read(InputStream input)
MARSHAL, - always.public static void write(OutputStream output, ServantActivator value)
MARSHAL, - always.