org.omg.PortableInterceptor

Class ObjectReferenceFactoryHelper

public abstract class ObjectReferenceFactoryHelper extends Object

The helper operations for the CORBA object {@link ObjectReferenceFactory}.

Since: 1.5

Method Summary
static ObjectReferenceFactoryextract(Any any)
Extract the ObjectReferenceFactory from given Any.
static Stringid()
Get the ObjectReferenceFactory repository id.
static voidinsert(Any any, ObjectReferenceFactory that)
Insert the ObjectReferenceFactory into the given Any.
static ObjectReferenceFactoryread(InputStream input)
Read the ObjectReferenceFactory from the CDR intput stream (ValueBase type expected).
static TypeCodetype()
Get the type code of the {@link ObjectReferenceFactory}.
static voidwrite(OutputStream output, ObjectReferenceFactory value)
Write the ObjectReferenceFactory to the CDR output stream (as a ValueBase).

Method Detail

extract

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

Throws: BAD_OPERATION if the passed Any does not contain ObjectReferenceFactory.

id

public static String id()
Get the ObjectReferenceFactory repository id.

Returns: "IDL:omg.org/PortableInterceptor/ObjectReferenceFactory:1.0", always.

insert

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

Parameters: any the Any to insert into. that the ObjectReferenceFactory to insert.

read

public static ObjectReferenceFactory read(InputStream input)
Read the ObjectReferenceFactory from the CDR intput stream (ValueBase type expected).

Parameters: input a org.omg.CORBA.portable stream to read from.

type

public static TypeCode type()
Get the type code of the {@link ObjectReferenceFactory}.

Returns: value type code with the agreed id, named "ObjectReferenceFactory", abstract, no members, no base type.

write

public static void write(OutputStream output, ObjectReferenceFactory value)
Write the ObjectReferenceFactory to the CDR output stream (as a ValueBase).

Parameters: output a org.omg.CORBA.portable stream stream to write into. value a value to write.