Package org.apache.synapse.commons.util
Class RMIRegistryController
java.lang.Object
org.apache.synapse.commons.util.RMIRegistryController
Creates and manages RMI registries
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateLocalRegistry(int port) Creates a RMI local registry with given portstatic RMIRegistryControllervoidremoveLocalRegistry(int port) removes if there is a RMI local registry instancevoidshutDown()Removes all registered RMI registries
-
Field Details
-
log
public static final org.apache.commons.logging.Log log
-
-
Method Details
-
getInstance
-
createLocalRegistry
public void createLocalRegistry(int port) Creates a RMI local registry with given port- Parameters:
port- The port of the RMI registry to be created
-
removeLocalRegistry
public void removeLocalRegistry(int port) removes if there is a RMI local registry instance- Parameters:
port- The port of the RMI registry to be removed
-
shutDown
public void shutDown()Removes all registered RMI registries
-