org.objectweb.jeremie.services.registry.jndi

Class JRMIReferenceImpl

Implemented Interfaces:
JRMIRemoteReference, Remote

public class JRMIReferenceImpl
extends UnicastRemoteObject
implements JRMIRemoteReference

Provides an implementation of a Jeremie JNDI Reference.

See Also:
JRMIRemoteReference

Field Summary

protected Reference
ref
The JNDI reference wrapped by this Jeremie reference.

Constructor Summary

JRMIReferenceImpl(Reference ref)
Constructs a Jeremie JNDI reference from a plain JNDI reference.

Method Summary

Reference
getReference()
Returns the plain JNDI reference encapsulated in this Jeremie JNDI reference.

Methods inherited from class org.objectweb.jeremie.binding.moa.UnicastRemoteObject

export, exportObject, exportObject, hashCode, toStub, unexportObject, unexportObject, writeReplace

Field Details

ref

protected Reference ref
The JNDI reference wrapped by this Jeremie reference.

Constructor Details

JRMIReferenceImpl

public JRMIReferenceImpl(Reference ref)
            throws RemoteException
Constructs a Jeremie JNDI reference from a plain JNDI reference.

Parameters:
ref - a JNDI Reference.

Method Details

getReference

public Reference getReference()
Returns the plain JNDI reference encapsulated in this Jeremie JNDI reference.
Specified by:
getReference in interface JRMIRemoteReference

Returns:
the underlying plain JNDI reference.