java.rmi.server
27 classes of the module java.rmi.
Load them with:
using {
"java.rmi.server"
}
ExportException#
class · extends RemoteException · java.rmi.server.ExportException
Constructors
new ExportException(String s) |
new ExportException(String s, Exception ex) |
Ring: new ExportException(args) uses the constructor with the fewest parameters (at least one); new ExportException makes the object with the constructor without parameters; the others: (new ExportException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RemoteException are inherited.
LoaderHandler#
interface · java.rmi.server.LoaderHandler
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
packagePrefix | String | constant · static | o.packagePrefix |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getSecurityContext | getSecurityContext(loader) | Object getSecurityContext(ClassLoader loader) |
loadClass | loadClass(name)loadClass([codebase,name])loadClass([ :codebase = v, :name = v ]) | Class loadClass(String name)Class loadClass(URL codebase, String name) |
LogStream#
class · extends PrintStream · java.rmi.server.LogStream
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SILENT | int | constant · static | o.SILENT |
BRIEF | int | constant · static | o.BRIEF |
VERBOSE | int | constant · static | o.VERBOSE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDefaultStream | getDefaultStream() | static PrintStream getDefaultStream() |
getOutputStream | getOutputStream() | OutputStream getOutputStream() |
log | log(name) | static LogStream log(String name) |
parseLevel | parseLevel(s) | static int parseLevel(String s) |
setDefaultStream | setDefaultStream(newDefault) | static void setDefaultStream(PrintStream newDefault) |
setOutputStream | setOutputStream(out) | void setOutputStream(OutputStream out) |
The methods and fields of PrintStream are inherited.
ObjID#
class final · extends Object · java.rmi.server.ObjID
Implements: Serializable
Constructors
new ObjID() |
new ObjID(int objNum) |
Ring: new ObjID(args) uses the constructor with the fewest parameters (at least one); new ObjID makes the object with the constructor without parameters; the others: (new ObjID).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
REGISTRY_ID | int | constant · static | o.REGISTRY_ID |
ACTIVATOR_ID | int | constant · static | o.ACTIVATOR_ID |
DGC_ID | int | constant · static | o.DGC_ID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
read | read(in) | static ObjID read(ObjectInput in) |
write | write(out) | void write(ObjectOutput out) |
The methods and fields of Object are inherited.
Operation#
class · extends Object · java.rmi.server.Operation
Constructors
new Operation(String op) |
Ring: new Operation(args) uses the constructor with the fewest parameters (at least one); new Operation makes the object with the constructor without parameters; the others: (new Operation).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOperation | getOperation() | String getOperation() |
The methods and fields of Object are inherited.
RemoteCall#
interface · java.rmi.server.RemoteCall
Methods
| Method | Ring call | Java overloads |
|---|---|---|
done | done() | void done() |
executeCall | executeCall() | void executeCall() |
getInputStream | getInputStream() | ObjectInput getInputStream() |
getOutputStream | getOutputStream() | ObjectOutput getOutputStream() |
getResultStream | getResultStream(success) | ObjectOutput getResultStream(boolean success) |
releaseInputStream | releaseInputStream() | void releaseInputStream() |
releaseOutputStream | releaseOutputStream() | void releaseOutputStream() |
RemoteObject#
abstract · extends Object · java.rmi.server.RemoteObject
Implements: Remote, Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getRef | getRef() | RemoteRef getRef() |
toStub | toStub(obj) | static Remote toStub(Remote obj) |
The methods and fields of Object are inherited.
RemoteObjectInvocationHandler#
class · extends RemoteObject · java.rmi.server.RemoteObjectInvocationHandler
Implements: InvocationHandler
Constructors
new RemoteObjectInvocationHandler(RemoteRef ref) |
Ring: new RemoteObjectInvocationHandler(args) uses the constructor with the fewest parameters (at least one); new RemoteObjectInvocationHandler makes the object with the constructor without parameters; the others: (new RemoteObjectInvocationHandler).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
invoke | invoke(proxy,method,args) | Object invoke(Object proxy, Method method, Object[] args) |
The methods and fields of RemoteObject are inherited.
RemoteRef#
interface · java.rmi.server.RemoteRef
Extends: Externalizable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
packagePrefix | String | constant · static | o.packagePrefix |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
done | done(call) | void done(RemoteCall call) |
getRefClass | getRefClass(out) | String getRefClass(ObjectOutput out) |
invoke | invoke(call)invoke([obj,method,params,opnum])invoke([ :obj = v, :method = v, :params = v, :opnum = v ]) | void invoke(RemoteCall call)Object invoke(Remote obj, Method method, Object[] params, long opnum) |
newCall | newCall(obj,op,opnum,hash) | RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) |
readExternal | readExternal(in) | void readExternal(ObjectInput in) |
remoteEquals | remoteEquals(obj) | boolean remoteEquals(RemoteRef obj) |
remoteHashCode | remoteHashCode() | int remoteHashCode() |
remoteToString | remoteToString() | String remoteToString() |
writeExternal | writeExternal(out) | void writeExternal(ObjectOutput out) |
RemoteServer#
abstract · extends RemoteObject · java.rmi.server.RemoteServer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getClientHost | getClientHost() | static String getClientHost() |
getLog | getLog() | static PrintStream getLog() |
setLog | setLog(out) | static void setLog(OutputStream out) |
The methods and fields of RemoteObject are inherited.
RemoteStub#
abstract · extends RemoteObject · java.rmi.server.RemoteStub
The methods and fields of RemoteObject are inherited.
RMIClassLoader#
class · extends Object · java.rmi.server.RMIClassLoader
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getClassAnnotation | getClassAnnotation(cl) | static String getClassAnnotation(Class cl) |
getClassLoader | getClassLoader(codebase) | static ClassLoader getClassLoader(String codebase) |
getDefaultProviderInstance | getDefaultProviderInstance() | static RMIClassLoaderSpi getDefaultProviderInstance() |
getSecurityContext | getSecurityContext(loader) | static Object getSecurityContext(ClassLoader loader) |
loadClass | loadClass(name)loadClass([codebase,name])loadClass([ :codebase = v, :name = v ])loadClass([codebase,name,defaultLoader])loadClass([ :codebase = v, :name = v, :defaultLoader = v ]) | static Class loadClass(String name)static Class loadClass(String codebase, String name)static Class loadClass(URL codebase, String name)static Class loadClass(String codebase, String name, ClassLoader defaultLoader) |
loadProxyClass | loadProxyClass(codebase,interfaces,defaultLoader) | static Class loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) |
The methods and fields of Object are inherited.
RMIClassLoaderSpi#
abstract · extends Object · java.rmi.server.RMIClassLoaderSpi
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getClassAnnotation | getClassAnnotation(cl) | String getClassAnnotation(Class cl) |
getClassLoader | getClassLoader(codebase) | ClassLoader getClassLoader(String codebase) |
loadClass | loadClass(codebase,name,defaultLoader) | Class loadClass(String codebase, String name, ClassLoader defaultLoader) |
loadProxyClass | loadProxyClass(codebase,interfaces,defaultLoader) | Class loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader) |
The methods and fields of Object are inherited.
RMIClientSocketFactory#
interface · java.rmi.server.RMIClientSocketFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createSocket | createSocket(host,port) | Socket createSocket(String host, int port) |
RMIFailureHandler#
interface · java.rmi.server.RMIFailureHandler
Methods
| Method | Ring call | Java overloads |
|---|---|---|
failure | failure(ex) | boolean failure(Exception ex) |
RMIServerSocketFactory#
interface · java.rmi.server.RMIServerSocketFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createServerSocket | createServerSocket(port) | ServerSocket createServerSocket(int port) |
RMISocketFactory#
abstract · extends Object · java.rmi.server.RMISocketFactory
Implements: RMIClientSocketFactory, RMIServerSocketFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createServerSocket | createServerSocket(port) | ServerSocket createServerSocket(int port) |
createSocket | createSocket(host,port) | Socket createSocket(String host, int port) |
getDefaultSocketFactory | getDefaultSocketFactory() | static RMISocketFactory getDefaultSocketFactory() |
getFailureHandler | getFailureHandler() | static RMIFailureHandler getFailureHandler() |
getSocketFactory | getSocketFactory() | static RMISocketFactory getSocketFactory() |
setFailureHandler | setFailureHandler(fh) | static void setFailureHandler(RMIFailureHandler fh) |
setSocketFactory | setSocketFactory(fac) | static void setSocketFactory(RMISocketFactory fac) |
The methods and fields of Object are inherited.
ServerCloneException#
class · extends CloneNotSupportedException · java.rmi.server.ServerCloneException
Constructors
new ServerCloneException(String s) |
new ServerCloneException(String s, Exception cause) |
Ring: new ServerCloneException(args) uses the constructor with the fewest parameters (at least one); new ServerCloneException makes the object with the constructor without parameters; the others: (new ServerCloneException).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
detail | Exception | read, write | o.detail o.detail = v |
The methods and fields of CloneNotSupportedException are inherited.
ServerNotActiveException#
class · extends Exception · java.rmi.server.ServerNotActiveException
Constructors
new ServerNotActiveException() |
new ServerNotActiveException(String s) |
Ring: new ServerNotActiveException(args) uses the constructor with the fewest parameters (at least one); new ServerNotActiveException makes the object with the constructor without parameters; the others: (new ServerNotActiveException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
ServerRef#
interface · java.rmi.server.ServerRef
Extends: RemoteRef
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
packagePrefix | String | constant · static | o.packagePrefix |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
done | done(call) | void done(RemoteCall call) |
exportObject | exportObject(obj,data) | RemoteStub exportObject(Remote obj, Object data) |
getClientHost | getClientHost() | String getClientHost() |
getRefClass | getRefClass(out) | String getRefClass(ObjectOutput out) |
invoke | invoke(call)invoke([obj,method,params,opnum])invoke([ :obj = v, :method = v, :params = v, :opnum = v ]) | void invoke(RemoteCall call)Object invoke(Remote obj, Method method, Object[] params, long opnum) |
newCall | newCall(obj,op,opnum,hash) | RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) |
readExternal | readExternal(in) | void readExternal(ObjectInput in) |
remoteEquals | remoteEquals(obj) | boolean remoteEquals(RemoteRef obj) |
remoteHashCode | remoteHashCode() | int remoteHashCode() |
remoteToString | remoteToString() | String remoteToString() |
writeExternal | writeExternal(out) | void writeExternal(ObjectOutput out) |
Skeleton#
interface · java.rmi.server.Skeleton
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dispatch | dispatch(obj,theCall,opnum,hash) | void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash) |
getOperations | getOperations() | Operation[] getOperations() |
SkeletonMismatchException#
class · extends RemoteException · java.rmi.server.SkeletonMismatchException
Constructors
new SkeletonMismatchException(String s) |
Ring: new SkeletonMismatchException(args) uses the constructor with the fewest parameters (at least one); new SkeletonMismatchException makes the object with the constructor without parameters; the others: (new SkeletonMismatchException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RemoteException are inherited.
SkeletonNotFoundException#
class · extends RemoteException · java.rmi.server.SkeletonNotFoundException
Constructors
new SkeletonNotFoundException(String s) |
new SkeletonNotFoundException(String s, Exception ex) |
Ring: new SkeletonNotFoundException(args) uses the constructor with the fewest parameters (at least one); new SkeletonNotFoundException makes the object with the constructor without parameters; the others: (new SkeletonNotFoundException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RemoteException are inherited.
SocketSecurityException#
class · extends ExportException · java.rmi.server.SocketSecurityException
Constructors
new SocketSecurityException(String s) |
new SocketSecurityException(String s, Exception ex) |
Ring: new SocketSecurityException(args) uses the constructor with the fewest parameters (at least one); new SocketSecurityException makes the object with the constructor without parameters; the others: (new SocketSecurityException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of ExportException are inherited.
UID#
class final · extends Object · java.rmi.server.UID
Implements: Serializable
Constructors
new UID() |
new UID(short num) |
Ring: new UID(args) uses the constructor with the fewest parameters (at least one); new UID makes the object with the constructor without parameters; the others: (new UID).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
read | read(in) | static UID read(DataInput in) |
write | write(out) | void write(DataOutput out) |
The methods and fields of Object are inherited.
UnicastRemoteObject#
class · extends RemoteServer · java.rmi.server.UnicastRemoteObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
exportObject | exportObject(obj)exportObject([obj,port])exportObject([ :obj = v, :port = v ])exportObject([obj,port,filter])exportObject([ :obj = v, :port = v, :filter = v ])exportObject([obj,port,csf,ssf])exportObject([ :obj = v, :port = v, :csf = v, :ssf = v ])exportObject([obj,port,csf,ssf,filter])exportObject([ :obj = v, :port = v, :csf = v, :ssf = v, :filter = v ]) | static RemoteStub exportObject(Remote obj)static Remote exportObject(Remote obj, int port)static Remote exportObject(Remote obj, int port, ObjectInputFilter filter)static Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)static Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter) |
unexportObject | unexportObject(obj,force) | static boolean unexportObject(Remote obj, boolean force) |
The methods and fields of RemoteServer are inherited.
Unreferenced#
interface · java.rmi.server.Unreferenced
Methods
| Method | Ring call | Java overloads |
|---|---|---|
unreferenced | unreferenced() | void unreferenced() |