|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.dist.RemoteRef | +--org.objectweb.jac.core.dist.rmi.RMIRemoteRef
RMIRemoteRef stores the reference of a remote object that can be accessed by the RMI protocol.
Field Summary |
Fields inherited from class org.objectweb.jac.core.dist.RemoteRef |
name, remCont, remIndex, toAdaptProp |
Constructor Summary | |
RMIRemoteRef()
Default constructor. |
|
RMIRemoteRef(RemoteContainer remCont,
int remIndex)
This is a full constructor for RemoteRef. |
|
RMIRemoteRef(String remCont,
int remIndex)
This is a more friendly constructor for RemoteRef. |
Method Summary | |
RemoteContainer |
reresolve()
This method re-gets the reference of a remote container. |
RemoteContainer |
resolve(String contName)
This method resolves a container from a container name. |
Methods inherited from class org.objectweb.jac.core.dist.RemoteRef |
create, create, create, equals, getName, getRemCont, getRemIndex, invoke, invoke, invokeRoleMethod, remoteCopy, remoteCopy, remoteNew, remoteNew, remoteNewWithCopy, remoteNewWithCopy, remoteNewWithCopy, remoteNewWithCopy, setName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RMIRemoteRef()
public RMIRemoteRef(RemoteContainer remCont, int remIndex)
remCont
- the ref of the container that handles the remote object.remIndex
- the index of the remote objectpublic RMIRemoteRef(String remCont, int remIndex)
remCont
- the name of the container that handles the remote object.remIndex
- the index of the remote object.Method Detail |
public RemoteContainer resolve(String contName)
resolve
in class RemoteRef
contName
- the name of the container
resolve(String)
public RemoteContainer reresolve()
reresolve
in class RemoteRef
reresolve()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |