org.keycloak.connections.infinispan

## Class DefaultInfinispanConnectionProvider

- java.lang.Object
- - org.keycloak.connections.infinispan.DefaultInfinispanConnectionProvider

- All Implemented Interfaces:
    InfinispanConnectionProvider, Provider

      public class DefaultInfinispanConnectionProvider
      extends Object
      implements InfinispanConnectionProvider

  Author:
    Stian Thorgersen

- - ### Field Summary

    - ### Fields inherited from interface org.keycloak.connections.infinispan.InfinispanConnectionProvider

      `LOGIN_FAILURE_CACHE_NAME, REALM_CACHE_NAME, SESSION_CACHE_NAME, USER_CACHE_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultInfinispanConnectionProvider(org.infinispan.manager.EmbeddedCacheManager cacheManager)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `<K,V> org.infinispan.Cache<K,V>` | `getCache(String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultInfinispanConnectionProvider

          public DefaultInfinispanConnectionProvider(org.infinispan.manager.EmbeddedCacheManager cacheManager)

  - ### Method Detail

    - #### getCache

          public <K,V> org.infinispan.Cache<K,V> getCache(String name)

      Specified by:
        `getCache` in interface `InfinispanConnectionProvider`

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2015. All rights reserved.