An object exported via a JrmpExporter
can customize the following properties that govern invocation behavior and other characteristics of the exported remote object and its stub:
port
: the port number for the {@link java.net.ServerSocket}on which the JRMP runtime will listen for incoming calls to the exported object. null
, then the global JRMP socket factory will be used (i.e., the value returned by {@link java.rmi.server.RMISocketFactory#getSocketFactory}), or if there isn't one set, then the default global JRMP socket factory will be used (i.e., the value returned by {@link java.rmi.server.RMISocketFactory#getDefaultSocketFactory}). ServerSocket
objects over which to receive calls to the exported object. If null
, then the global JRMP socket factory will be used, or if there isn't one set, then the default global JRMP socket factory will be used. The default global JRMP socket factory returns a ServerSocket
for an anonymous port if passed a port number of zero. ActivationID
identifying this remote object to the activation system, or null
if the remote object is not to be exported as activatable. This exporter is a front-end adapter on top of UnicastRemoteObject
and Activatable
; exporting remote objects through this exporter is equivalent to doing so directly via the various exportObject
methods defined by the aforementioned classes.
@author Sun Microsystems, Inc.
@since 2.0
@com.sun.jini.impl
This implementation uses the {@link Logger} namednet.jini.jrmp.JrmpExporter
to log information at the following levels:
Level | Description |
---|---|
{@link Level#FINE FINE} | successful export of object |
{@link Level#FINE FINE} | attempted unexport of object |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|