org.kie.api.internal.utils

## Class ServiceRegistryImpl

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

- All Implemented Interfaces:
    ServiceRegistry, Service

      public class ServiceRegistryImpl
      extends Object
      implements ServiceRegistry

  This is an internal class, not for public consumption.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServiceRegistryImpl()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `get(Class<T> cls)`
    `static ServiceRegistry` | `getServiceRegistry()`
    `void` | `reload()`
    `void` | `reset()`
    `static void` | `setSupplier(Supplier<ServiceRegistry> supplier)`

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

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

    - ### Methods inherited from interface org.kie.api.internal.utils.ServiceRegistry

      `getInstance`

- - ### Constructor Detail

    - #### ServiceRegistryImpl

          public ServiceRegistryImpl()

  - ### Method Detail

    - #### reset

          public void reset()

    - #### reload

          public void reload()

    - #### get

          public <T> T get(Class<T> cls)

      Specified by:
        `get` in interface `ServiceRegistry`

    - #### getServiceRegistry

          public static ServiceRegistry getServiceRegistry()

    - #### setSupplier

          public static void setSupplier(Supplier<ServiceRegistry> supplier)

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.