public class JUnicastRemoteObject
extends java.rmi.server.RemoteServer
UnicastRemoteObject
CAROL class ensuring
the JRMP context propagation Unicast Reference ensuring context propagation
with custom socketsModifier and Type | Field and Description |
---|---|
protected java.rmi.server.RMIClientSocketFactory |
csf |
protected java.rmi.server.RMIServerSocketFactory |
ssf |
Modifier | Constructor and Description |
---|---|
protected |
JUnicastRemoteObject(int p,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
protected |
JUnicastRemoteObject(int p,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
protected |
JUnicastRemoteObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected void |
exportObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
static java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int p,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
static java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int p,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
static java.rmi.server.RemoteStub |
exportObject(java.rmi.Remote obj,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis) |
protected static java.rmi.Remote |
exportObjectR(java.rmi.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(java.rmi.Remote obj,
boolean force)
Real unexport Object (localy and remotly)
|
protected java.rmi.server.RMIClientSocketFactory csf
protected java.rmi.server.RMIServerSocketFactory ssf
protected JUnicastRemoteObject(JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
protected JUnicastRemoteObject(int p, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
protected JUnicastRemoteObject(int p, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
protected void exportObject(JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.rmi.server.RemoteStub exportObject(java.rmi.Remote obj, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.rmi.Remote exportObject(java.rmi.Remote obj, int p, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.rmi.Remote exportObject(java.rmi.Remote obj, int p, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis) throws java.rmi.RemoteException
java.rmi.RemoteException
protected static java.rmi.Remote exportObjectR(java.rmi.Remote obj, JUnicastServerRef serverRef) throws java.rmi.RemoteException
obj
- serverRef
- params
- args
- java.rmi.RemoteException
public static boolean unexportObject(java.rmi.Remote obj, boolean force) throws java.rmi.NoSuchObjectException
obj
- force
- java.rmi.NoSuchObjectException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public static void setDefaultThreadFactory(JUnicastThreadFactory factory)
null
public static JUnicastThreadFactory getDefaultThreadFactory()