public abstract class Activatable extends RemoteServer
ref
Modifier | Constructor and Description |
---|---|
protected |
Activatable(ActivationID id,
int port) |
protected |
Activatable(ActivationID id,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
protected |
Activatable(String location,
MarshalledObject data,
boolean restart,
int port) |
protected |
Activatable(String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
Modifier and Type | Method and Description |
---|---|
static Remote |
exportObject(Remote obj,
ActivationID id,
int port) |
static Remote |
exportObject(Remote obj,
ActivationID id,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
static ActivationID |
exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port) |
static ActivationID |
exportObject(Remote obj,
String location,
MarshalledObject data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
protected ActivationID |
getID() |
static boolean |
inactive(ActivationID id) |
static Remote |
register(ActivationDesc desc) |
static boolean |
unexportObject(Remote obj,
boolean force) |
static void |
unregister(ActivationID id) |
getClientHost, getLog, setLog
protected Activatable(String location, MarshalledObject data, boolean restart, int port) throws ActivationException, RemoteException
ActivationException
RemoteException
protected Activatable(String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws ActivationException, RemoteException
ActivationException
RemoteException
protected Activatable(ActivationID id, int port) throws RemoteException
RemoteException
protected Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
RemoteException
protected ActivationID getID()
public static Remote register(ActivationDesc desc) throws UnknownGroupException, ActivationException, RemoteException
public static boolean inactive(ActivationID id) throws UnknownObjectException, ActivationException, RemoteException
public static void unregister(ActivationID id) throws UnknownObjectException, ActivationException, RemoteException
public static ActivationID exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port) throws ActivationException, RemoteException
ActivationException
RemoteException
public static ActivationID exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws ActivationException, RemoteException
ActivationException
RemoteException
public static Remote exportObject(Remote obj, ActivationID id, int port) throws RemoteException
RemoteException
public static Remote exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
RemoteException
public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException
NoSuchObjectException