org.wildfly.swarm.container.config

## Class ClassLoaderConfigLocator

- java.lang.Object
- - org.wildfly.swarm.container.config.ConfigLocator
  - - org.wildfly.swarm.container.config.ClassLoaderConfigLocator

-     public class ClassLoaderConfigLocator
      extends ConfigLocator

  Author:
    Bob McWhirter

- - ### Field Summary

    - ### Fields inherited from class org.wildfly.swarm.container.config.ConfigLocator

      `PROJECT_PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassLoaderConfigLocator(ClassLoader classLoader)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ClassLoaderConfigLocator` | `forApplication()`
    `Stream<URL>` | `locate(String profileName)`
    `static ClassLoaderConfigLocator` | `system()`

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

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

- - ### Constructor Detail

    - #### ClassLoaderConfigLocator

          public ClassLoaderConfigLocator(ClassLoader classLoader)

  - ### Method Detail

    - #### system

          public static ClassLoaderConfigLocator system()

    - #### forApplication

          public static ClassLoaderConfigLocator forApplication()
                                                         throws ModuleLoadException

      Throws:
        `ModuleLoadException`

    - #### locate

          public Stream<URL> locate(String profileName)
                             throws IOException

      Specified by:
        `locate` in class `ConfigLocator`
      Throws:
        `IOException`

Copyright © 2017 JBoss by Red Hat. All rights reserved.