|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Registry | |
java.rmi.registry | Provides a class and two interfaces for the RMI registry. |
Uses of Registry in java.rmi.registry |
Methods in java.rmi.registry that return Registry | |
Registry |
RegistryHandler.registryStub(String host,
int port)
Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses the RegistryHandler to obtain the registry's
stub. |
Registry |
RegistryHandler.registryImpl(int port)
Deprecated. no replacement. As of the Java 2 platform v1.2, RMI no longer uses the RegistryHandler to obtain the registry's
implementation. |
static Registry |
LocateRegistry.getRegistry()
Returns a reference to the the remote object Registry for
the local host on the default registry port of 1099. |
static Registry |
LocateRegistry.getRegistry(int port)
Returns a reference to the the remote object Registry for
the local host on the specified port . |
static Registry |
LocateRegistry.getRegistry(String host)
Returns a reference to the remote object Registry on the
specified host on the default registry port of 1099. |
static Registry |
LocateRegistry.getRegistry(String host,
int port)
Returns a reference to the remote object Registry on the
specified host and port . |
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)
Creates and exports a Registry on the local host
that accepts requests on the specified 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. |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.