| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerRef
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 | 
|---|
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| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.