com.mchange.rmi
Class RegistryManager
java.lang.Object
com.mchange.rmi.RegistryManager
public class RegistryManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryManager
public RegistryManager()
ensureRegistry
public static java.rmi.registry.Registry ensureRegistry(int port)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
ensureRegistry
public static java.rmi.registry.Registry ensureRegistry()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
registryAvailable
public static boolean registryAvailable(int port)
throws java.rmi.RemoteException,
java.rmi.AccessException
- Throws:
java.rmi.RemoteException
java.rmi.AccessException
registryAvailable
public static boolean registryAvailable()
throws java.rmi.RemoteException,
java.rmi.AccessException
- Throws:
java.rmi.RemoteException
java.rmi.AccessException
findRegistry
public static java.rmi.registry.Registry findRegistry(int port)
throws java.rmi.RemoteException,
java.rmi.AccessException
- Returns:
- the Registry on localhost at port, if one is exported; null otherwise.
- Throws:
java.rmi.RemoteException
java.rmi.AccessException
findRegistry
public static java.rmi.registry.Registry findRegistry()
throws java.rmi.RemoteException,
java.rmi.AccessException
- Returns:
- the Registry on localhost at the default registry port, if one is exported; null otherwise.
- Throws:
java.rmi.RemoteException
java.rmi.AccessException