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()`
    `Set<Spi>` | `getSpis()`

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

      `publish, register, unregister`

- - ### Method Detail

    - #### create

          KeycloakSession create()

    - #### getSpis

          Set<Spi> getSpis()

    - #### 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 © 2016 JBoss by Red Hat. All rights reserved.