org.objectweb.carol.jndi.wrapping
Class JNDIReferenceWrapper

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

public class JNDIReferenceWrapper
extends java.lang.Object
implements RemoteReference

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

Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

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
 

Constructor Detail

JNDIReferenceWrapper

public JNDIReferenceWrapper(javax.naming.Reference reference)
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 RemoteReference
Returns:
the Reference reference
Throws:
java.rmi.RemoteException - if the reference cannot be returned