public interface RMIExporter
Unpublished interface controlling how the RMI Connector Server
exports objects. The RMIServerImpl object and each
RMIConnectionImpl object are exported using the exporter. The
default exporter calls UnicastRemoteObject.exportObject(Remote, int,
RMIClientSocketFactory, RMIServerSocketFactory) to export objects
and UnicastRemoteObject.unexportObject(Remote, boolean) to
unexport them. A replacement exporter can be specified via the
EXPORTER_ATTRIBUTE property in the environment Map passed
to the RMI connector server.
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPORTER_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
Remote |
exportObject(Remote obj,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
boolean |
unexportObject(Remote obj,
boolean force) |
static final String EXPORTER_ATTRIBUTE
Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
RemoteExceptionboolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException
NoSuchObjectExceptionCopyright © 2019 Terracotta, Inc.. All rights reserved.