org.apache.synapse.commons.util

## Class RMIRegistryController

- java.lang.Object
- - org.apache.synapse.commons.util.RMIRegistryController

-     public class RMIRegistryController
      extends java.lang.Object

  Creates and manages RMI registries

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.apache.commons.logging.Log` | `log`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `createLocalRegistry(int port)` Creates a RMI local registry with given port
    `static RMIRegistryController` | `getInstance()`
    `void` | `removeLocalRegistry(int port)` removes if there is a RMI local registry instance
    `void` | `shutDown()` Removes all registered RMI registries

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### log

          public static final org.apache.commons.logging.Log log

  - ### Method Detail

    - #### getInstance

          public static RMIRegistryController 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

Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.