org.objectweb.carol.rmi.jrmp.server
Class JUnicastRemoteObject
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable
- public class JUnicastRemoteObject
- extends java.rmi.server.RemoteServer
Class Extension of UnicastRemoteObject
CAROL class ensuring the JRMP context propagation
Unicast Reference ensuring context propagation with custom sockets
- Version:
- 1.0, 15/07/2002
TO BE CHANGE, MORE SIMPLE CODING !!!!
- Author:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
java.lang.Object |
clone()
|
protected void |
exportObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
|
static java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int port,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
|
static java.rmi.Remote |
exportObject(java.rmi.Remote obj,
int port,
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 |
exportObject(java.rmi.Remote obj,
java.lang.String refClassName,
java.lang.Class[] params,
java.lang.Object[] args)
|
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)
|
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
port
protected int port
csf
protected java.rmi.server.RMIClientSocketFactory csf
ssf
protected java.rmi.server.RMIServerSocketFactory ssf
exportObjectParamType
protected static final java.lang.Class[] exportObjectParamType
exportObjectWithFactoryParamType
protected static final java.lang.Class[] exportObjectWithFactoryParamType
JUnicastRemoteObject
protected JUnicastRemoteObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
JUnicastRemoteObject
protected JUnicastRemoteObject(int port,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
JUnicastRemoteObject
protected JUnicastRemoteObject(int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
exportObject
protected void exportObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
java.rmi.RemoteException
exportObject
public static java.rmi.server.RemoteStub exportObject(java.rmi.Remote obj,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
java.rmi.RemoteException
exportObject
public static java.rmi.Remote exportObject(java.rmi.Remote obj,
int port,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
java.rmi.RemoteException
exportObject
public static java.rmi.Remote exportObject(java.rmi.Remote obj,
int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
java.rmi.RemoteException
unexportObject
public static boolean unexportObject(java.rmi.Remote obj,
boolean force)
throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectException
exportObject
protected static java.rmi.Remote exportObject(java.rmi.Remote obj,
java.lang.String refClassName,
java.lang.Class[] params,
java.lang.Object[] args)
throws java.rmi.RemoteException
java.rmi.RemoteException
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
getDefaultThreadFactory
public static JUnicastThreadFactory getDefaultThreadFactory()
- get the current default thread factory