org.omg.PortableInterceptor
Class ObjectReferenceTemplateHolder

java.lang.Object
  extended by org.omg.PortableInterceptor.ObjectReferenceTemplateHolder
All Implemented Interfaces:
Streamable

public final class ObjectReferenceTemplateHolder
extends Object
implements Streamable

A holder for the object ObjectReferenceTemplate.


Field Summary
 ObjectReferenceTemplate value
          The stored ObjectReferenceTemplate value.
 
Constructor Summary
ObjectReferenceTemplateHolder()
          Create the unitialised instance, leaving the value field with default null value.
ObjectReferenceTemplateHolder(ObjectReferenceTemplate initialValue)
          Create the initialised instance.
 
Method Summary
 void _read(InputStream input)
          Fill in the value by data from the CDR stream.
 TypeCode _type()
          Get the typecode of the ObjectReferenceTemplate.
 void _write(OutputStream output)
          Write the stored value into the CDR stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public ObjectReferenceTemplate value
The stored ObjectReferenceTemplate value.

Constructor Detail

ObjectReferenceTemplateHolder

public ObjectReferenceTemplateHolder()
Create the unitialised instance, leaving the value field with default null value.


ObjectReferenceTemplateHolder

public ObjectReferenceTemplateHolder(ObjectReferenceTemplate initialValue)
Create the initialised instance.

Parameters:
initialValue - the value that will be assigned to the value field.
Method Detail

_read

public void _read(InputStream input)
Fill in the value by data from the CDR stream.

Specified by:
_read in interface Streamable
Parameters:
input - the org.omg.CORBA.portable stream to read.

_write

public void _write(OutputStream output)
Write the stored value into the CDR stream.

Specified by:
_write in interface Streamable
Parameters:
output - the org.omg.CORBA.portable stream to write.

_type

public TypeCode _type()
Get the typecode of the ObjectReferenceTemplate.

Specified by:
_type in interface Streamable