|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.emory.mathcs.rmix.server.RemoteObject
edu.emory.mathcs.rmix.server.BoundRemoteObject
Convenience base class for remote objects that binds the object to a single endpoint created by specific RMIX protocol with given parameters, remote interfaces, and the interceptor.
| Constructor Summary | |
protected |
BoundRemoteObject(java.lang.String protocol)
Constructs new remote object and exports it using given RMIX protocol. |
protected |
BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces)
Constructs new remote object and exports it using given RMIX protocol and specific set of remote interfaces. |
protected |
BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Interceptor interceptor)
Constructs new remote object and exports it using given RMIX protocol, specific set of remote interfaces, and a given invocation interceptor. |
protected |
BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Interceptor interceptor,
Parameters params)
Constructs new remote object and exports it using given RMIX protocol, specific set of remote interfaces, invocation interceptor, and export parameters. |
protected |
BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Parameters params)
Constructs new remote object and exports it using given RMIX protocol, specific set of remote interfaces, and given export parameters. |
protected |
BoundRemoteObject(java.lang.String protocol,
Parameters params)
Constructs new remote object and exports it using given RMIX protocol and parameters. |
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of the remote object that is distinct from the original. |
ServerRef |
exportObject()
implementation of the exportable interface |
ObjGUID |
getObjGUID()
Gets the GUID associated with this remote object and its stubs. |
ServerRef |
getRef()
Gets the endpoint that this object is bind to. |
| Methods inherited from class edu.emory.mathcs.rmix.server.RemoteObject |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected BoundRemoteObject(java.lang.String protocol)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.
java.rmi.RemoteException - if the export fails.
protected BoundRemoteObject(java.lang.String protocol,
Parameters params)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.params - export parameters.
java.rmi.RemoteException - if the export fails.
protected BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.interfaces - the remote interfaces to export.
java.rmi.RemoteException - if the export fails.
protected BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Interceptor interceptor)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.interfaces - the remote interfaces to export.interceptor - the invocation interceptor.
java.rmi.RemoteException - if the export fails.
protected BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Parameters params)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.interfaces - the remote interfaces to export.params - export parameters.
java.rmi.RemoteException - if the export fails.
protected BoundRemoteObject(java.lang.String protocol,
java.lang.Class[] interfaces,
Interceptor interceptor,
Parameters params)
throws java.rmi.RemoteException
protocol - the name of RMIX protocol to export the object.interfaces - the remote interfaces to export.interceptor - the invocation interceptor.params - export parameters.
java.rmi.RemoteException - if the export fails.| Method Detail |
public ServerRef getRef()
public ObjGUID getObjGUID()
getObjGUID in class RemoteObject
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if clone failed due to
a RemoteException.public ServerRef exportObject()
exportObject in interface ExportableRmix.getServerContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||