public class UnicastJNDIReferenceWrapper
extends java.rmi.server.UnicastRemoteObject
implements java.rmi.Remote, com.sun.jndi.rmi.registry.RemoteReference
JNDIReferenceWrapper
is the CAROL Remote Reference
implementation. This implementation make the reference wrapping to/from a
remote objectConstructor and Description |
---|
UnicastJNDIReferenceWrapper(javax.naming.Reference reference,
int objectPort)
constructor, export this object
|
Modifier and Type | Method and Description |
---|---|
javax.naming.Reference |
getReference()
Get the
Reference reference |
clone, exportObject, exportObject, exportObject, unexportObject
public UnicastJNDIReferenceWrapper(javax.naming.Reference reference, int objectPort) throws java.rmi.RemoteException
reference
- the Reference
reference to wrapobjectPort
- the port on which export objectsjava.rmi.RemoteException
- when super class try to export the objectpublic javax.naming.Reference getReference() throws java.rmi.RemoteException
Reference
referencegetReference
in interface com.sun.jndi.rmi.registry.RemoteReference
Reference
referencejava.rmi.RemoteException
- if the reference cannot be returned