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
- Author:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
- See Also:
- Serialized Form
Field Summary |
protected java.rmi.server.RMIClientSocketFactory |
csf
|
protected java.rmi.server.RMIServerSocketFactory |
ssf
|
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 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 boolean |
unexportObject(java.rmi.Remote obj,
boolean force)
Real unexport Object (localy and remotly) |
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 |
csf
protected java.rmi.server.RMIClientSocketFactory csf
ssf
protected java.rmi.server.RMIServerSocketFactory ssf
JUnicastRemoteObject
protected JUnicastRemoteObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
JUnicastRemoteObject
protected JUnicastRemoteObject(int p,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
JUnicastRemoteObject
protected JUnicastRemoteObject(int p,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
exportObject
protected void exportObject(JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
exportObject
public static java.rmi.server.RemoteStub exportObject(java.rmi.Remote obj,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
exportObject
public static java.rmi.Remote exportObject(java.rmi.Remote obj,
int p,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
exportObject
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
- Throws:
java.rmi.RemoteException
exportObjectR
protected static java.rmi.Remote exportObjectR(java.rmi.Remote obj,
JUnicastServerRef serverRef)
throws java.rmi.RemoteException
- Real export object (localy and remotly)
- Parameters:
obj
- serverRef
-
- Returns:
- @throws RemoteException
- Throws:
java.rmi.RemoteException
unexportObject
public static boolean unexportObject(java.rmi.Remote obj,
boolean force)
throws java.rmi.NoSuchObjectException
- Real unexport Object (localy and remotly)
- Parameters:
obj
- force
-
- Returns:
- @throws NoSuchObjectException
- Throws:
java.rmi.NoSuchObjectException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException