Package 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 Description DefaultProviderLoader(KeycloakDeploymentInfo info, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ProviderFactory>
load(Spi spi)
Load all provider factories of a specific SPI.List<Spi>
loadSpis()
Load the SPI definitions themselves.
-
-
-
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 interfaceProviderLoader
- 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 interfaceProviderLoader
- Parameters:
spi
- the Spi definition- Returns:
- a list of provider factories
-
-