org.omg.PortableInterceptor
Class ObjectReferenceFactoryHelper

java.lang.Object
  extended by org.omg.PortableInterceptor.ObjectReferenceFactoryHelper

public abstract class ObjectReferenceFactoryHelper
extends Object

The helper operations for the CORBA object ObjectReferenceFactory.

Since:
1.5

Constructor Summary
ObjectReferenceFactoryHelper()
           
 
Method Summary
static ObjectReferenceFactory extract(Any any)
          Extract the ObjectReferenceFactory from given Any.
static String id()
          Get the ObjectReferenceFactory repository id.
static void insert(Any any, ObjectReferenceFactory that)
          Insert the ObjectReferenceFactory into the given Any.
static ObjectReferenceFactory read(InputStream input)
          Read the ObjectReferenceFactory from the CDR intput stream (ValueBase type expected).
static TypeCode type()
          Get the type code of the ObjectReferenceFactory.
static void write(OutputStream output, ObjectReferenceFactory value)
          Write the ObjectReferenceFactory to the CDR output stream (as a ValueBase).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectReferenceFactoryHelper

public ObjectReferenceFactoryHelper()
Method Detail

type

public static TypeCode type()
Get the type code of the ObjectReferenceFactory.

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

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.

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.

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.

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.