org.richfaces.cache

## Class EhCacheCacheFactory

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

- All Implemented Interfaces:
    org.richfaces.cache.CacheFactory

      public class EhCacheCacheFactory
      extends Object
      implements org.richfaces.cache.CacheFactory

  Since:
    4.0
  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EhCacheCacheFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.richfaces.cache.Cache` | `createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)`
    `void` | `destroy()`

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

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

- - ### Constructor Detail

    - #### EhCacheCacheFactory

          public EhCacheCacheFactory()

  - ### Method Detail

    - #### createCache

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

      Specified by:
        `createCache` in interface `org.richfaces.cache.CacheFactory`

    - #### destroy

          public void destroy()

      Specified by:
        `destroy` in interface `org.richfaces.cache.CacheFactory`

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