org.omg.PortableInterceptor

Class ObjectReferenceTemplateHelper

public abstract class ObjectReferenceTemplateHelper extends Object

The helper operations for the CORBA object {@link ObjectReferenceTemplate}.
Method Summary
static ObjectReferenceTemplateextract(Any any)
Extract the ObjectReferenceTemplate from given Any.
static Stringid()
Get the ObjectReferenceTemplate repository id.
static voidinsert(Any any, ObjectReferenceTemplate that)
Insert the ObjectReferenceTemplate into the given Any.
static ObjectReferenceTemplateread(InputStream input)
Read the object reference template (as the value type).
static TypeCodetype()
Get the type code of the {@link ObjectReferenceTemplate}.
static voidwrite(OutputStream output, ObjectReferenceTemplate value)
Write the object reference template (as the value type).

Method Detail

extract

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

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

id

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

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

insert

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

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

read

public static ObjectReferenceTemplate read(InputStream input)
Read the object reference template (as the value type).

type

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

Returns: value type type code, named ObjectReferenceTemplate, no members, abstract.

write

public static void write(OutputStream output, ObjectReferenceTemplate value)
Write the object reference template (as the value type).