JrmpExporter
acts as an adapter between existing methods for
(un)exporting remote objects over JRMP (e.g.,
{@link java.rmi.server.UnicastRemoteObject#exportObject(java.rmi.Remote)
UnicastRemoteObject.exportObject},
{@link java.rmi.activation.Activatable#exportObject(java.rmi.Remote,
java.rmi.activation.ActivationID, int) Activatable.exportObject}) and the
Exporter
interface. By performing export and unexport operations
through {@link net.jini.config.Configuration}-provided
Exporter
instances, applications can be configured and deployed at
run-time to use JrmpExporter
and/or other Exporter
implementations. See the {@link net.jini.config} package
documentation for examples on configurable exporting.
This package also defines
{@link net.jini.jrmp.JrmpServerContext}--a JRMP-based
implementation of the
{@link net.jini.export.ServerContext} service provider interface
{@link net.jini.export.ServerContext.Spi}.
This class is not intended for direct use by applications; rather, it can be
configured as one of the providers that ServerContext
consults
when determining the current server context, allowing applications written to
the generic Exporter
API to use the generic
ServerContext
API for obtaining server context, even if running
over JRMP. For information on configuring ServerContext
providers, see the documentation for
{@link net.jini.export.ServerContext#getServerContext}.
@since 2.0
@version 2.0