com.sun.jmx.remote.opt.internal
Interface RMIExporter


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.


Field Summary
static String EXPORTER_ATTRIBUTE
           
 
Method Summary
 Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
           
 boolean unexportObject(Remote obj, boolean force)
           
 

Field Detail

EXPORTER_ATTRIBUTE

static final String EXPORTER_ATTRIBUTE
See Also:
Constant Field Values
Method Detail

exportObject

Remote exportObject(Remote obj,
                    int port,
                    RMIClientSocketFactory csf,
                    RMIServerSocketFactory ssf)
                    throws RemoteException
Throws:
RemoteException

unexportObject

boolean unexportObject(Remote obj,
                       boolean force)
                       throws NoSuchObjectException
Throws:
NoSuchObjectException


Copyright © 2014 Terracotta, Inc.. All rights reserved.