org.objectweb.carol.rmi.jrmp.server
Class JUnicastRemoteObject
RemoteServer
org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject
public class JUnicastRemoteObject
extends RemoteServer
Class Extension of UnicastRemoteObject
CAROL class ensuring
the JRMP context propagation Unicast Reference ensuring context propagation
with custom sockets
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
protected RMIClientSocketFactory | csf
|
protected RMIServerSocketFactory | ssf
|
Object | clone()
|
static Remote | exportObject(Remote obj, int p, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
|
static Remote | exportObject(Remote obj, int p, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
|
static RemoteStub | exportObject(Remote obj, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
|
protected void | exportObject(JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
|
protected static Remote | exportObjectR(Remote obj, JUnicastServerRef serverRef) - Real export object (localy and remotly)
|
static JUnicastThreadFactory | getDefaultThreadFactory() - get the current default thread factory
|
static void | setDefaultThreadFactory(JUnicastThreadFactory factory) - set the default thread factory to to used when dispatching the call.
|
static boolean | unexportObject(Remote obj, boolean force) - Real unexport Object (localy and remotly)
|
csf
protected RMIClientSocketFactory csf
ssf
protected RMIServerSocketFactory ssf
clone
public Object clone()
throws CloneNotSupportedException
exportObjectR
protected static Remote exportObjectR(Remote obj,
JUnicastServerRef serverRef)
throws RemoteException
Real export object (localy and remotly)
obj
- serverRef
-
getDefaultThreadFactory
public static JUnicastThreadFactory getDefaultThreadFactory()
get the current default thread factory
setDefaultThreadFactory
public static void setDefaultThreadFactory(JUnicastThreadFactory factory)
set the default thread factory to to used when dispatching the call. No
new thread is created when the factory is null
unexportObject
public static boolean unexportObject(Remote obj,
boolean force)
throws NoSuchObjectException
Real unexport Object (localy and remotly)
obj
- force
-