Top Constructors Methods
com.mchange.rmi

public Class RegistryManager

extends Object
Class Inheritance
Imports
java.io.*, java.rmi.*, java.rmi.server.*, java.rmi.registry.*

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Registry
ensureRegistry(int port)

public static Registry
public static Registry

Returns:

the Registry on localhost at port, if one is exported; null otherwise.
findRegistry
(int port)

public static Registry

Returns:

the Registry on localhost at the default registry port, if one is exported; null otherwise.
findRegistry
()

public static boolean
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RegistryManagerback to summary
public RegistryManager()

Method Detail

ensureRegistryback to summary
public static Registry ensureRegistry(int port) throws RemoteException
ensureRegistryback to summary
public static Registry ensureRegistry() throws RemoteException
findRegistryback to summary
public static Registry findRegistry(int port) throws RemoteException, AccessException
Returns:Registry

the Registry on localhost at port, if one is exported; null otherwise.

findRegistryback to summary
public static Registry findRegistry() throws RemoteException, AccessException
Returns:Registry

the Registry on localhost at the default registry port, if one is exported; null otherwise.

registryAvailableback to summary
public static boolean registryAvailable(int port) throws RemoteException, AccessException
registryAvailableback to summary
public static boolean registryAvailable() throws RemoteException, AccessException