org.objectweb.carol.cmi.jndi
Class ReferenceImpl

java.lang.Object
  extended byorg.objectweb.carol.cmi.UnicastRemoteObject
      extended byorg.objectweb.carol.cmi.jndi.ReferenceImpl
All Implemented Interfaces:
java.rmi.Remote, RemoteReference

public class ReferenceImpl
extends UnicastRemoteObject
implements RemoteReference

Class ReferenceImpl is an implementation of the RemoteReference interface

Author:
Simon Nieuviarts

Field Summary
protected  javax.naming.Reference ref
          wrapped reference
 
Constructor Summary
ReferenceImpl(javax.naming.Reference ref)
          Create a new Wrapper for Reference
 
Method Summary
 javax.naming.Reference getReference()
          Get the wrapped object
 
Methods inherited from class org.objectweb.carol.cmi.UnicastRemoteObject
clone, exportObject, unexportObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ref

protected javax.naming.Reference ref
wrapped reference

Constructor Detail

ReferenceImpl

public ReferenceImpl(javax.naming.Reference ref)
              throws java.rmi.RemoteException
Create a new Wrapper for Reference

Parameters:
ref - reference
Throws:
java.rmi.RemoteException - if exception is encountered
Method Detail

getReference

public javax.naming.Reference getReference()
Get the wrapped object

Specified by:
getReference in interface RemoteReference
Returns:
reference to the object