org.omg.CosTransactions
Class ResourceHolder

java.lang.Object
  extended by org.omg.CosTransactions.ResourceHolder
All Implemented Interfaces:
org.omg.CORBA.portable.Streamable

public final class ResourceHolder
extends java.lang.Object
implements org.omg.CORBA.portable.Streamable

Holder class for : Resource

Author:
OpenORB Compiler

Field Summary
 Resource value
          Internal Resource value
 
Constructor Summary
ResourceHolder()
          Default constructor
ResourceHolder(Resource initial)
          Constructor with value initialisation
 
Method Summary
 void _read(org.omg.CORBA.portable.InputStream istream)
          Read Resource from a marshalled stream
 org.omg.CORBA.TypeCode _type()
          Return the Resource TypeCode
 void _write(org.omg.CORBA.portable.OutputStream ostream)
          Write Resource into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public Resource value
Internal Resource value

Constructor Detail

ResourceHolder

public ResourceHolder()
Default constructor


ResourceHolder

public ResourceHolder(Resource initial)
Constructor with value initialisation

Parameters:
initial - the initial value
Method Detail

_read

public void _read(org.omg.CORBA.portable.InputStream istream)
Read Resource from a marshalled stream

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

_write

public void _write(org.omg.CORBA.portable.OutputStream ostream)
Write Resource into a marshalled stream

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

_type

public org.omg.CORBA.TypeCode _type()
Return the Resource TypeCode

Specified by:
_type in interface org.omg.CORBA.portable.Streamable
Returns:
a TypeCode