org.omg.CosNaming
Class NamingContextHolder

java.lang.Object
  extended by org.omg.CosNaming.NamingContextHolder
All Implemented Interfaces:
Streamable

public final class NamingContextHolder
extends Object
implements Streamable

A holder for the naming context.


Field Summary
 NamingContext value
          A stored value.
 
Constructor Summary
NamingContextHolder()
          Create the unitialised naming context holder.
NamingContextHolder(NamingContext initialValue)
          Create the naming context holder, intialised to the given value.
 
Method Summary
 void _read(InputStream in)
          Read the naming context from the given CDR input stream.
 TypeCode _type()
          Get the typecode of the naming context.
 void _write(OutputStream out)
          Write the naming context to the given CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public NamingContext value
A stored value.

Constructor Detail

NamingContextHolder

public NamingContextHolder()
Create the unitialised naming context holder.


NamingContextHolder

public NamingContextHolder(NamingContext initialValue)
Create the naming context holder, intialised to the given value.

Method Detail

_read

public void _read(InputStream in)
Read the naming context from the given CDR input stream.

Specified by:
_read in interface Streamable
Parameters:
in - the input stream to read from.

_type

public TypeCode _type()
Get the typecode of the naming context.

Specified by:
_type in interface Streamable

_write

public void _write(OutputStream out)
Write the naming context to the given CDR output stream.

Specified by:
_write in interface Streamable
Parameters:
out - the output stream to write into.