org.objectweb.carol.jndi.iiop
Class IIOPResourceWrapper

java.lang.Object
  |
  +--org.objectweb.carol.jndi.iiop.IIOPResourceWrapper
All Implemented Interfaces:
IIOPRemoteResource, java.rmi.Remote

public class IIOPResourceWrapper
extends java.lang.Object
implements IIOPRemoteResource


Field Summary
protected  java.io.Serializable resource
          Serializable resource to wrap
 
Constructor Summary
IIOPResourceWrapper(java.io.Serializable resource)
          constructor, export this object
 
Method Summary
 java.io.Serializable getResource()
          Get the Serializable resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected java.io.Serializable resource
Serializable resource to wrap

Constructor Detail

IIOPResourceWrapper

public IIOPResourceWrapper(java.io.Serializable resource)
                    throws java.rmi.RemoteException
constructor, export this object

Parameters:
resource - the Serializable resource to wrap
Method Detail

getResource

public java.io.Serializable getResource()
                                 throws java.rmi.RemoteException
Get the Serializable resource

Specified by:
getResource in interface IIOPRemoteResource
Returns:
the Serializable resource
java.rmi.RemoteException