org.objectweb.carol.jndi.wrapping
Class JNDIResourceWrapper

java.lang.Object
  extended byorg.objectweb.carol.jndi.wrapping.JNDIResourceWrapper
All Implemented Interfaces:
JNDIRemoteResource, java.rmi.Remote

public class JNDIResourceWrapper
extends java.lang.Object
implements JNDIRemoteResource

Class JNDIResourceWrapper is the CAROL Remote Resource implementation. This implementation make the serializable resource wrapping to/from a remote object

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Field Summary
protected  java.io.Serializable resource
          Serializable resource to wrap
 
Constructor Summary
JNDIResourceWrapper(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

JNDIResourceWrapper

public JNDIResourceWrapper(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 JNDIRemoteResource
Returns:
the Serializable resource
Throws:
java.rmi.RemoteException