org.objectweb.carol.jndi.wrapping

Class JNDIResourceWrapper

Implemented Interfaces:
JNDIRemoteResource, 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 Serializable
resource
Serializable resource to wrap

Constructor Summary

JNDIResourceWrapper(Serializable resource)
constructor, export this object

Method Summary

Serializable
getResource()
Get the Serializable resource

Field Details

resource

protected Serializable resource
Serializable resource to wrap

Constructor Details

JNDIResourceWrapper

public JNDIResourceWrapper(Serializable resource)
            throws RemoteException
constructor, export this object

Parameters:
resource - the Serializable resource to wrap

Method Details

getResource

public Serializable getResource()
            throws RemoteException
Get the Serializable resource
Specified by:
getResource in interface JNDIRemoteResource

Returns:
the Serializable resource