Novell exteNd Messaging Platform 5.1

org.omg.CosTransactions
Class ResourceHolder

java.lang.Object
  extended byorg.omg.CosTransactions.ResourceHolder
All Implemented Interfaces:
Streamable

public final class ResourceHolder
extends Object
implements Streamable

Holder for Resource


Field Summary
 Resource value
           
 
Constructor Summary
ResourceHolder()
           
ResourceHolder(Resource value)
           
 
Method Summary
 void _read(InputStream is)
          Reads data from istream and initalizes the value field of the Holder with the unmarshalled data.
 TypeCode _type()
          Retrieves the TypeCode object corresponding to the value in the value field of the Holder.
 void _write(OutputStream os)
          Marshals to ostream the value in the value field of the Holder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public Resource value
Constructor Detail

ResourceHolder

public ResourceHolder()

ResourceHolder

public ResourceHolder(Resource value)
Method Detail

_read

public void _read(InputStream is)
Description copied from interface: Streamable
Reads data from istream and initalizes the value field of the Holder with the unmarshalled data.

Specified by:
_read in interface Streamable
Parameters:
is - the InputStream that represents the CDR data from the wire.

_write

public void _write(OutputStream os)
Description copied from interface: Streamable
Marshals to ostream the value in the value field of the Holder.

Specified by:
_write in interface Streamable
Parameters:
os - the CDR OutputStream

_type

public TypeCode _type()
Description copied from interface: Streamable
Retrieves the TypeCode object corresponding to the value in the value field of the Holder.

Specified by:
_type in interface Streamable
Returns:
the TypeCode object for the value held in the holder

Novell exteNd Messaging Platform 5.1

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.