Package org.kie.api.internal.utils

## Class ServiceDiscoveryImpl

- java.lang.Object
- - org.kie.api.internal.utils.ServiceDiscoveryImpl

-     public class ServiceDiscoveryImpl
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `LEGACY_CONF_FILE` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> void` | `addService​(Class<T> serviceClass, T service)` |
    `void` | `addService​(String serviceName, Object object)` |
    `static ServiceDiscoveryImpl` | `getInstance()` |
    `static Stream<URL>` | `getKieConfsFromKnownModules​(ClassLoader cl)` |
    `Map<String,​List<Object>>` | `getServices()` |
    `void` | `registerConfs​(ClassLoader classLoader, URL url)` |
    `void` | `reset()` |

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

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

- - ### Field Detail

    - #### LEGACY_CONF_FILE

          public static final String LEGACY_CONF_FILE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getInstance

          public static ServiceDiscoveryImpl getInstance()

    - #### addService

          public <T> void addService​(Class<T> serviceClass,
                                     T service)

    - #### addService

          public void addService​(String serviceName,
                                 Object object)

    - #### reset

          public void reset()

    - #### getServices

          public Map<String,​List<Object>> getServices()

    - #### registerConfs

          public void registerConfs​(ClassLoader classLoader,
                                    URL url)

    - #### getKieConfsFromKnownModules

          public static Stream<URL> getKieConfsFromKnownModules​(ClassLoader cl)