Package com.mchange.rmi
Class RegistryManager
java.lang.Object
com.mchange.rmi.RegistryManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Registry
static Registry
ensureRegistry
(int port) static Registry
static Registry
findRegistry
(int port) static boolean
static boolean
registryAvailable
(int port)
-
Constructor Details
-
RegistryManager
public RegistryManager()
-
-
Method Details
-
ensureRegistry
- Throws:
RemoteException
-
ensureRegistry
- Throws:
RemoteException
-
registryAvailable
- Throws:
RemoteException
AccessException
-
registryAvailable
- Throws:
RemoteException
AccessException
-
findRegistry
- Returns:
- the Registry on localhost at port, if one is exported; null otherwise.
- Throws:
RemoteException
AccessException
-
findRegistry
- Returns:
- the Registry on localhost at the default registry port, if one is exported; null otherwise.
- Throws:
RemoteException
AccessException
-