org.apache.storm.scheduler.utils

## Class ConfigLoaderFactoryService

- java.lang.Object
- - org.apache.storm.scheduler.utils.ConfigLoaderFactoryService

-     public class ConfigLoaderFactoryService
      extends Object

  The user interface to create a concrete IConfigLoader instance for use.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfigLoaderFactoryService()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static IConfigLoader` | `createConfigLoader(Map<String,Object> conf)` The user interface to create an IConfigLoader instance.

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

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

- - ### Constructor Detail

    - #### ConfigLoaderFactoryService

          public ConfigLoaderFactoryService()

  - ### Method Detail

    - #### createConfigLoader

          public static IConfigLoader createConfigLoader(Map<String,Object> conf)

      The user interface to create an IConfigLoader instance. It iterates all the implementations of IConfigLoaderFactory and finds the one which supports the specific scheme of the URI and then uses it to create an IConfigLoader instance.

      Parameters:
        `conf` - The storm configuration.
      Returns:
        A concrete IConfigLoader implementation which supports the scheme of the URI. If multiple implementations are available, return the first one; otherwise, return null.

Copyright © 2019 The Apache Software Foundation. All rights reserved.