APIdia Launch Partner
Top Description Fields Methods
com.sun.jmx.remote.internal.rmi

public Interface RMIExporter

Imports
java.io.ObjectInputFilter, java.rmi.NoSuchObjectException, .Remote, .RemoteException, java.rmi.server.RMIClientSocketFactory, .RMIServerSocketFactory, .UnicastRemoteObject

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

Modifier and TypeField and Description
public static final String

Method Summary

Modifier and TypeMethod and Description
public Remote
public boolean
unexportObject(Remote obj, boolean force)

Field Detail

EXPORTER_ATTRIBUTEback to summary
public static final String EXPORTER_ATTRIBUTE

Method Detail

exportObjectback to summary
public Remote exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter) throws RemoteException
unexportObjectback to summary
public boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException