站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.rmi.server.RMIClientSocketFactory - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.rmi.server.RMIClientSocketFactory

Packages that use RMIClientSocketFactory
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 RMIClientSocketFactory in java.rmi.activation
 

Methods in java.rmi.activation with parameters of type RMIClientSocketFactory
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 RMIClientSocketFactory
Activatable.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.Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Constructor used to activate/export the object on a specified port.
 

Uses of RMIClientSocketFactory in java.rmi.registry
 

Methods in java.rmi.registry with parameters of type RMIClientSocketFactory
static Registry LocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf)
          Returns a locally created remote reference to the remote object Registry on the specified host and port.
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 RMIClientSocketFactory in java.rmi.server
 

Classes in java.rmi.server that implement RMIClientSocketFactory
 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 RMIClientSocketFactory
static Remote UnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Export 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 RMIClientSocketFactory
UnicastRemoteObject.UnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
          Create and export a new UnicastRemoteObject object using the particular supplied port and socket factories
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.