| 
 | JavaTM 2 Platform Std. Ed. v1.4.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A ServerRef represents the server-side handle for a remote object implementation.
| Field Summary | |
| static long | serialVersionUIDindicate 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 | 
public static final long serialVersionUID
| Method Detail | 
public 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)
public String getClientHost()
                     throws ServerNotActiveException
ServerNotActiveException - if called outside of servicing
 a remote method invocation| 
 | JavaTM 2 Platform Std. Ed. v1.4.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.