java.lang.Object
jac.core.dist.RemoteRef
jac.core.dist.rmi.RMIRemoteRef
- All Implemented Interfaces:
- java.io.Serializable
- public class RMIRemoteRef
- extends jac.core.dist.RemoteRef
RMIRemoteRef stores the reference of a remote object
that can be accessed by the RMI protocol.
- Version:
- 0.8.1
| Methods inherited from class jac.core.dist.RemoteRef |
create, create, create, equals, getName, getRemCont, getRemIndex, invoke, remoteCopy, remoteCopy, remoteNew, remoteNew, remoteNewWithCopy, remoteNewWithCopy, remoteNewWithCopy, remoteNewWithCopy, setName, toString |
RMIRemoteRef
public RMIRemoteRef()
- Default constructor.
RMIRemoteRef
public RMIRemoteRef(jac.core.dist.RemoteContainer remCont,
int remIndex)
- This is a full constructor for RemoteRef.
RMIRemoteRef
public RMIRemoteRef(java.lang.String contName,
int remIndex)
- This is a more friendly constructor for RemoteRef.
resolve
public jac.core.dist.RemoteContainer resolve(java.lang.String contName)
- This method resolves a container from a container name.
This method simply delegates its job to a RMIRemoteContainer.
reresolve
public jac.core.dist.RemoteContainer reresolve()
- This method re-gets the reference of a remote container.
CORBA do not linearalize remote references in a standard way.
Thus a remote reference may need to be adapted whenever it is transmitted.
This method performs nothing in the case of RMI.
This method is called when a remote reference
is received by a RemoteContainer.