RingJavafor Ring

java.rmi.server

27 classes of the module java.rmi.

Load them with:

using {
	"java.rmi.server"
}

All packages

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

NameTypeAccessIn Ring
packagePrefixStringconstant · statico.packagePrefix

Methods

MethodRing callJava overloads
getSecurityContextgetSecurityContext(loader)Object getSecurityContext(ClassLoader loader)
loadClassloadClass(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

NameTypeAccessIn Ring
SILENTintconstant · statico.SILENT
BRIEFintconstant · statico.BRIEF
VERBOSEintconstant · statico.VERBOSE

Methods

MethodRing callJava overloads
getDefaultStreamgetDefaultStream()static PrintStream getDefaultStream()
getOutputStreamgetOutputStream()OutputStream getOutputStream()
loglog(name)static LogStream log(String name)
parseLevelparseLevel(s)static int parseLevel(String s)
setDefaultStreamsetDefaultStream(newDefault)static void setDefaultStream(PrintStream newDefault)
setOutputStreamsetOutputStream(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

NameTypeAccessIn Ring
REGISTRY_IDintconstant · statico.REGISTRY_ID
ACTIVATOR_IDintconstant · statico.ACTIVATOR_ID
DGC_IDintconstant · statico.DGC_ID

Methods

MethodRing callJava overloads
readread(in)static ObjID read(ObjectInput in)
writewrite(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

MethodRing callJava overloads
getOperationgetOperation()String getOperation()

The methods and fields of Object are inherited.

RemoteCall#

interface · java.rmi.server.RemoteCall

Methods

MethodRing callJava overloads
donedone()void done()
executeCallexecuteCall()void executeCall()
getInputStreamgetInputStream()ObjectInput getInputStream()
getOutputStreamgetOutputStream()ObjectOutput getOutputStream()
getResultStreamgetResultStream(success)ObjectOutput getResultStream(boolean success)
releaseInputStreamreleaseInputStream()void releaseInputStream()
releaseOutputStreamreleaseOutputStream()void releaseOutputStream()

RemoteObject#

abstract · extends Object · java.rmi.server.RemoteObject

Implements: Remote, Serializable

Methods

MethodRing callJava overloads
getRefgetRef()RemoteRef getRef()
toStubtoStub(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

MethodRing callJava overloads
invokeinvoke(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

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID
packagePrefixStringconstant · statico.packagePrefix

Methods

MethodRing callJava overloads
donedone(call)void done(RemoteCall call)
getRefClassgetRefClass(out)String getRefClass(ObjectOutput out)
invokeinvoke(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)
newCallnewCall(obj,op,opnum,hash)RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
readExternalreadExternal(in)void readExternal(ObjectInput in)
remoteEqualsremoteEquals(obj)boolean remoteEquals(RemoteRef obj)
remoteHashCoderemoteHashCode()int remoteHashCode()
remoteToStringremoteToString()String remoteToString()
writeExternalwriteExternal(out)void writeExternal(ObjectOutput out)

RemoteServer#

abstract · extends RemoteObject · java.rmi.server.RemoteServer

Methods

MethodRing callJava overloads
getClientHostgetClientHost()static String getClientHost()
getLoggetLog()static PrintStream getLog()
setLogsetLog(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

MethodRing callJava overloads
getClassAnnotationgetClassAnnotation(cl)static String getClassAnnotation(Class cl)
getClassLoadergetClassLoader(codebase)static ClassLoader getClassLoader(String codebase)
getDefaultProviderInstancegetDefaultProviderInstance()static RMIClassLoaderSpi getDefaultProviderInstance()
getSecurityContextgetSecurityContext(loader)static Object getSecurityContext(ClassLoader loader)
loadClassloadClass(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)
loadProxyClassloadProxyClass(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

MethodRing callJava overloads
getClassAnnotationgetClassAnnotation(cl)String getClassAnnotation(Class cl)
getClassLoadergetClassLoader(codebase)ClassLoader getClassLoader(String codebase)
loadClassloadClass(codebase,name,defaultLoader)Class loadClass(String codebase, String name, ClassLoader defaultLoader)
loadProxyClassloadProxyClass(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

MethodRing callJava overloads
createSocketcreateSocket(host,port)Socket createSocket(String host, int port)

RMIFailureHandler#

interface · java.rmi.server.RMIFailureHandler

Methods

MethodRing callJava overloads
failurefailure(ex)boolean failure(Exception ex)

RMIServerSocketFactory#

interface · java.rmi.server.RMIServerSocketFactory

Methods

MethodRing callJava overloads
createServerSocketcreateServerSocket(port)ServerSocket createServerSocket(int port)

RMISocketFactory#

abstract · extends Object · java.rmi.server.RMISocketFactory

Implements: RMIClientSocketFactory, RMIServerSocketFactory

Methods

MethodRing callJava overloads
createServerSocketcreateServerSocket(port)ServerSocket createServerSocket(int port)
createSocketcreateSocket(host,port)Socket createSocket(String host, int port)
getDefaultSocketFactorygetDefaultSocketFactory()static RMISocketFactory getDefaultSocketFactory()
getFailureHandlergetFailureHandler()static RMIFailureHandler getFailureHandler()
getSocketFactorygetSocketFactory()static RMISocketFactory getSocketFactory()
setFailureHandlersetFailureHandler(fh)static void setFailureHandler(RMIFailureHandler fh)
setSocketFactorysetSocketFactory(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

NameTypeAccessIn Ring
detailExceptionread, writeo.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

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID
packagePrefixStringconstant · statico.packagePrefix

Methods

MethodRing callJava overloads
donedone(call)void done(RemoteCall call)
exportObjectexportObject(obj,data)RemoteStub exportObject(Remote obj, Object data)
getClientHostgetClientHost()String getClientHost()
getRefClassgetRefClass(out)String getRefClass(ObjectOutput out)
invokeinvoke(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)
newCallnewCall(obj,op,opnum,hash)RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash)
readExternalreadExternal(in)void readExternal(ObjectInput in)
remoteEqualsremoteEquals(obj)boolean remoteEquals(RemoteRef obj)
remoteHashCoderemoteHashCode()int remoteHashCode()
remoteToStringremoteToString()String remoteToString()
writeExternalwriteExternal(out)void writeExternal(ObjectOutput out)

Skeleton#

interface · java.rmi.server.Skeleton

Methods

MethodRing callJava overloads
dispatchdispatch(obj,theCall,opnum,hash)void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
getOperationsgetOperations()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

MethodRing callJava overloads
readread(in)static UID read(DataInput in)
writewrite(out)void write(DataOutput out)

The methods and fields of Object are inherited.

UnicastRemoteObject#

class · extends RemoteServer · java.rmi.server.UnicastRemoteObject

Methods

MethodRing callJava overloads
cloneclone()Object clone()
exportObjectexportObject(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)
unexportObjectunexportObject(obj,force)static boolean unexportObject(Remote obj, boolean force)

The methods and fields of RemoteServer are inherited.

Unreferenced#

interface · java.rmi.server.Unreferenced

Methods

MethodRing callJava overloads
unreferencedunreferenced()void unreferenced()
RingJava - use Java classes and methods from Ring programs.