org.keycloak.authorization.store

## Interface StoreFactory

- All Superinterfaces:
    Provider
  All Known Subinterfaces:
    CachedStoreFactoryProvider
  All Known Implementing Classes:
    InfinispanStoreFactoryProvider, JPAStoreFactory, MongoStoreFactory

      public interface StoreFactory
      extends Provider

  A factory for the different types of storages that manage the persistence of the domain model types.

  Implementations of this interface are usually related with the creation of those storage types accordingly with a specific persistence mechanism such as relational and NoSQL databases, filesystem, etc.

  Author:
    Pedro Igor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `PolicyStore` | `getPolicyStore()` Returns a `PolicyStore`.
    `ResourceServerStore` | `getResourceServerStore()` Returns a `ResourceServerStore`.
    `ResourceStore` | `getResourceStore()` Returns a `ResourceStore`.
    `ScopeStore` | `getScopeStore()` Returns a `ScopeStore`.

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

      `close`

- - ### Method Detail

    - #### getResourceStore

          ResourceStore getResourceStore()

      Returns a `ResourceStore`.
      Returns:
        the resource store

    - #### getResourceServerStore

          ResourceServerStore getResourceServerStore()

      Returns a `ResourceServerStore`.
      Returns:
        the resource server store

    - #### getScopeStore

          ScopeStore getScopeStore()

      Returns a `ScopeStore`.
      Returns:
        the scope store

    - #### getPolicyStore

          PolicyStore getPolicyStore()

      Returns a `PolicyStore`.
      Returns:
        the policy store

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