|
Préférences
Moteurs de recherche
|
|||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
java.rmi.server
|
Field Summary | |
---|---|
static long |
serialVersionUID
indicate compatibility with JDK 1.1.x version of class. |
Fields inherited from interface java.rmi.server.RemoteRef |
---|
packagePrefix |
Method Summary | |
---|---|
RemoteStub |
exportObject(Remote obj,
Object data)
Creates a client stub object for the supplied Remote object. |
String |
getClientHost()
Returns the hostname of the current client. |
Methods inherited from interface java.rmi.server.RemoteRef |
---|
done, getRefClass, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
RemoteStub exportObject(Remote obj, Object data) throws RemoteException
obj
- the remote object implementationdata
- information necessary to export the object
RemoteException
- if an exception occurs attempting
to export the object (e.g., stub class could not be found)String getClientHost() throws ServerNotActiveException
ServerNotActiveException
- if called outside of servicing
a remote method invocation