com.mchange.rmi
Class RegistryManager
java.lang.Object
com.mchange.rmi.RegistryManager
public class RegistryManager
- extends 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 Registry ensureRegistry(int port)
throws RemoteException
- Throws:
RemoteException
ensureRegistry
public static Registry ensureRegistry()
throws RemoteException
- Throws:
RemoteException
registryAvailable
public static boolean registryAvailable(int port)
throws RemoteException,
AccessException
- Throws:
RemoteException
AccessException
registryAvailable
public static boolean registryAvailable()
throws RemoteException,
AccessException
- Throws:
RemoteException
AccessException
findRegistry
public static Registry findRegistry(int port)
throws RemoteException,
AccessException
- Returns:
- the Registry on localhost at port, if one is exported; null otherwise.
- Throws:
RemoteException
AccessException
findRegistry
public static Registry findRegistry()
throws RemoteException,
AccessException
- Returns:
- the Registry on localhost at the default registry port, if one is exported; null otherwise.
- Throws:
RemoteException
AccessException