|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.ServerRuntime
public class ServerRuntime
Implements the server-side behavior of RMI.
| Field Summary | |
|---|---|
MultiDispatcher |
dispatcher
The dispatcher of events destined to be intercepted by Interceptor instances. |
ServerGC |
gc
The object implementing the server-side distributed GC mechanism. |
ObjectTable |
objectTable
Holds OID-to-object mappings. |
RMICommandProcessor |
processor
The processor handling incoming RMICommand instances. |
ServerTable |
server
The single Server held by this instance. |
| Method Summary | |
|---|---|
void |
addInterceptor(java.lang.Class eventClass,
Interceptor it)
Adds an interceptor of server-side events to this instance. |
void |
dispatchEvent(Event event)
Dispatches the given event to the underlying server-side interceptors. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final ObjectTable objectTable
OID-to-object mappings. Keeps distributed object references
so that the latter are spared from the VM GC while remote applications might still
access to the said references.
public final MultiDispatcher dispatcher
Interceptor instances.
Dispatches server-side events. This mechanism can conveniently be used by client apps
to dispatch their own custom events.
public final ServerGC gc
public final RMICommandProcessor processor
RMICommand instances.
RMICommandpublic final ServerTable server
Server held by this instance.
| Method Detail |
|---|
public void addInterceptor(java.lang.Class eventClass,
Interceptor it)
throws InvalidInterceptorException
InvalidInterceptorExceptionInterceptor,
MultiDispatcher.addInterceptor(Class, Interceptor)public void dispatchEvent(Event event)
MultiDispatcher.dispatch(Event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||