Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
java.rmi.server.RMIServerSocketFactory

Packages that use RMIServerSocketFactory
java.rmi.activation | Provides support for RMI Object Activation.
java.rmi.registry | Provides a class and two interfaces for the RMI registry.
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.

Uses of RMIServerSocketFactory in java.rmi.activation

Methods in java.rmi.activation with parameters of type RMIServerSocketFactory
`static ActivationID` | `Activatable.exportObject(Remote obj, String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` This `exportObject` method may be invoked explicitly by an "activatable" object, that does not extend the `Activatable` class, in order to both a) register the object's activation descriptor, constructed from the supplied `location`, and `data`, with the activation system (so the object can be activated), and b) export the remote object, `obj`, on a specific port (if port=0, then an anonymous port is chosen).
`static Remote` | `Activatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.

Constructors in java.rmi.activation with parameters of type RMIServerSocketFactory
`Activatable(String location, MarshalledObject data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Constructor used to register and export the object on a specified port (an anonymous port is chosen if port=0) .
`Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Constructor used to activate/export the object on a specified port.

Uses of RMIServerSocketFactory in java.rmi.registry

Methods in java.rmi.registry with parameters of type RMIServerSocketFactory
`static Registry` | `LocateRegistry.createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Creates and exports a `Registry` on the local host that uses custom socket factories for communication with that registry.

Uses of RMIServerSocketFactory in java.rmi.server

Classes in java.rmi.server that implement RMIServerSocketFactory
`class` | `RMISocketFactory` An `RMISocketFactory` instance is used by the RMI runtime in order to obtain client and server sockets for RMI calls.

Methods in java.rmi.server with parameters of type RMIServerSocketFactory
`static Remote` | `UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.

Constructors in java.rmi.server with parameters of type RMIServerSocketFactory
`UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)` Creates and exports a new UnicastRemoteObject object using the particular supplied port and socket factories.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.