com.comtrade.ecm.engine.services

## Class EcmServiceManager

- java.lang.Object
- - com.comtrade.ecm.engine.services.EcmServiceManager

-     public class EcmServiceManager
      extends java.lang.Object

  Manager of `EcmServiceProvider`s.
  If asked, it finds/creates/returns them.
  Storage for information regarding `EcmServiceProvider`s is `EcmServiceManagerDefinitions`.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static EcmLogger` | `getLogger(java.lang.Class<?> clazz)` Retrieves a proper logger object.
    `static <T extends EcmService> T` | `getServiceProvider(java.lang.Class<T> clazz)`
    `static TextManager` | `getTextManager()`
    `static void` | `registerService(java.lang.String serviceClassName, java.lang.String serviceProviderClassName)`

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

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

- - ### Method Detail

    - #### registerService

          public static void registerService(java.lang.String serviceClassName,
                                             java.lang.String serviceProviderClassName)
                                      throws EcmException

      Throws:
        `EcmException`

    - #### getServiceProvider

          public static <T extends EcmService> T getServiceProvider(java.lang.Class<T> clazz)

    - #### getTextManager

          public static TextManager getTextManager()

    - #### getLogger

          public static EcmLogger getLogger(java.lang.Class<?> clazz)

      Retrieves a proper logger object.
      Parameters:
        `clazz` - Class that needs logging services.
      Returns:
        Manager for `EcmLogger`-object