org.objectweb.carol.jndi.wrapping
Class JNDIReferenceWrapper

java.lang.Object
  extended byorg.objectweb.carol.jndi.wrapping.JNDIReferenceWrapper
All Implemented Interfaces:
java.rmi.Remote, com.sun.jndi.rmi.registry.RemoteReference

public class JNDIReferenceWrapper
extends java.lang.Object
implements com.sun.jndi.rmi.registry.RemoteReference

Class JNDIReferenceWrapper is the CAROL Remote Reference implementation. This implementation make the reference wrapping to/from a remote object

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

Field Summary
protected  javax.naming.Reference reference
          Reference reference to wrap
 
Constructor Summary
JNDIReferenceWrapper(javax.naming.Reference reference)
          constructor, export this object
 
Method Summary
 javax.naming.Reference getReference()
          Get the Reference reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reference

protected javax.naming.Reference reference
Reference reference to wrap

Constructor Detail

JNDIReferenceWrapper

public JNDIReferenceWrapper(javax.naming.Reference reference)
                     throws java.rmi.RemoteException
constructor, export this object

Parameters:
reference - the Reference reference to wrap
Method Detail

getReference

public javax.naming.Reference getReference()
                                    throws java.rmi.RemoteException
Get the Reference reference

Specified by:
getReference in interface com.sun.jndi.rmi.registry.RemoteReference
Returns:
the Reference reference
Throws:
java.rmi.RemoteException