org.richfaces.cache

## Class CacheManager

- java.lang.Object
- - org.richfaces.cache.CacheManager

-     public class CacheManager
      extends Object

  TODO stop caches on application stop CacheManager is used in J2SE environments for looking up named caches.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CACHE_MANAGER_FACTORY_CLASS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheManager()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | `createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)`
    `void` | `destroy()`
    `void` | `destroyCache(String cacheName)`
    `Cache` | `getCache(String cacheName)`
    `Map<String,Cache>` | `getCaches()`

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

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

- - ### Field Detail

    - #### CACHE_MANAGER_FACTORY_CLASS

          public static final String CACHE_MANAGER_FACTORY_CLASS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CacheManager

          public CacheManager()

  - ### Method Detail

    - #### getCache

          public Cache getCache(String cacheName)

    - #### createCache

          public Cache createCache(javax.faces.context.FacesContext facesContext,
                                   String cacheName,
                                   Map<?,?> env)

    - #### destroyCache

          public void destroyCache(String cacheName)

    - #### getCaches

          public Map<String,Cache> getCaches()

    - #### destroy

          public void destroy()

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.