mandala.jacob.remote
Interface LocalReferenceRetriever

All Superinterfaces:
Remote, java.io.Serializable
All Known Subinterfaces:
RemoteActiveMap, RemoteCollection, RemoteMap, RemoteSet
All Known Implementing Classes:
AbstractLocalReferenceRetriever, RemoteActiveMapProxy, RemoteCollectionProxy, RemoteMapProxy, RemoteSetProxy, RMIActiveMap, RMICollection, RMIMap, RMISet

public interface LocalReferenceRetriever
extends Remote

This interface defines the behaviour of local reference retriever remote objects.

Since:
2.3
Version:
1.0
Author:
eipi

Method Summary
 java.lang.Object getID()
          Returns the global unique identifier of this remote instance.
 java.lang.Object getLocalReference()
          Returns a local reference on the object this remote reference is refering to.
 
Methods inherited from interface mandala.jacob.remote.Remote
getExceptionHandler, setExceptionHandler
 

Method Detail

getLocalReference

public java.lang.Object getLocalReference()

Returns a local reference on the object this remote reference is refering to.

Note that the caller must be on the same JVM than the local object in order to get a valid return, otherwise, null is returned.

Returns:
the local reference if available

getID

public java.lang.Object getID()

Returns the global unique identifier of this remote instance.

Returns:
the global identifier of this remote instance


Mandala help mailing list