Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerRef extends RemoteRef
A ServerRef represents the server-side handle for a remote object implementation.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
indicate compatibility with JDK 1.1.x version of class. |
Fields inherited from interface java.rmi.server.RemoteRef |
---|
packagePrefix |
Modifier and Type | Method and Description |
---|---|
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 objectRemoteException
- 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. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.