org.keycloak.provider

## Class DefaultProviderLoader

- java.lang.Object
- - org.keycloak.provider.DefaultProviderLoader

- All Implemented Interfaces:
    ProviderLoader

      public class DefaultProviderLoader
      extends Object
      implements ProviderLoader

  Author:
    Stian Thorgersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultProviderLoader(KeycloakDeploymentInfo info, ClassLoader classLoader)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<ProviderFactory>` | `load(Spi spi)` Load all provider factories of a specific SPI.
    `List<Spi>` | `loadSpis()` Load the SPI definitions themselves.

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

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

- - ### Constructor Detail

    - #### DefaultProviderLoader

          public DefaultProviderLoader(KeycloakDeploymentInfo info,
                                       ClassLoader classLoader)

  - ### Method Detail

    - #### loadSpis

          public List<Spi> loadSpis()

      Description copied from interface: `ProviderLoader`
      Load the SPI definitions themselves.
      Specified by:
        `loadSpis` in interface `ProviderLoader`
      Returns:
        a list of Spi definition objects

    - #### load

          public List<ProviderFactory> load(Spi spi)

      Description copied from interface: `ProviderLoader`
      Load all provider factories of a specific SPI.
      Specified by:
        `load` in interface `ProviderLoader`
      Parameters:
        `spi` - the Spi definition
      Returns:
        a list of provider factories

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