org.keycloak.models

## Interface KeycloakSessionFactory

- All Superinterfaces:
    ProviderEventManager
  All Known Implementing Classes:
    DefaultKeycloakSessionFactory

      public interface KeycloakSessionFactory
      extends ProviderEventManager

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `KeycloakSession` | `create()`
    `List<ProviderFactory>` | `getProviderFactories(Class<? extends Provider> clazz)`
    `<T extends Provider> ProviderFactory<T>` | `getProviderFactory(Class<T> clazz)`
    `<T extends Provider> ProviderFactory<T>` | `getProviderFactory(Class<T> clazz, String id)`
    `long` | `getServerStartupTimestamp()`
    `Spi` | `getSpi(Class<? extends Provider> providerClass)`
    `Set<Spi>` | `getSpis()`

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

      `publish, register, unregister`

- - ### Method Detail

    - #### create

          KeycloakSession create()

    - #### getSpis

          Set<Spi> getSpis()

    - #### getSpi

          Spi getSpi(Class<? extends Provider> providerClass)

    - #### getProviderFactory

          <T extends Provider> ProviderFactory<T> getProviderFactory(Class<T> clazz)

    - #### getProviderFactory

          <T extends Provider> ProviderFactory<T> getProviderFactory(Class<T> clazz,
                                                                     String id)

    - #### getProviderFactories

          List<ProviderFactory> getProviderFactories(Class<? extends Provider> clazz)

    - #### getServerStartupTimestamp

          long getServerStartupTimestamp()

    - #### close

          void close()

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