org.keycloak.component

## Interface ComponentFactory<CreatedType,ProviderType extends Provider>

- All Superinterfaces:
    ConfiguredProvider, ProviderFactory<ProviderType>
  All Known Subinterfaces:
    UserStorageProviderFactory<T>

      public interface ComponentFactory<CreatedType,ProviderType extends Provider>
      extends ProviderFactory<ProviderType>, ConfiguredProvider

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default ProviderType` | `create(KeycloakSession session)`
    `CreatedType` | `create(KeycloakSession session, ComponentModel model)`
    `void` | `validateConfiguration(KeycloakSession session, ComponentModel config)`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, getId, init, postInit`

    - ### Methods inherited from interface org.keycloak.provider.ConfiguredProvider

      `getConfigProperties, getHelpText`

- - ### Method Detail

    - #### create

          CreatedType create(KeycloakSession session,
                             ComponentModel model)

    - #### create

          default ProviderType create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<ProviderType extends Provider>`

    - #### validateConfiguration

          void validateConfiguration(KeycloakSession session,
                                     ComponentModel config)
                              throws ComponentValidationException

      Throws:
        `ComponentValidationException`

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