org.richfaces.cache

## Class JBossCacheCacheFactory

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

- All Implemented Interfaces:
    CacheFactory

      public class JBossCacheCacheFactory
      extends Object
      implements CacheFactory

  Since:
    4.0
  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JBossCacheCacheFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Cache` | `createCache(javax.faces.context.FacesContext facesContext, String cacheName, Map<?,?> env)` creates a new implementation specific Cache object using the env parameters.
    `void` | `destroy()`

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

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

- - ### Constructor Detail

    - #### JBossCacheCacheFactory

          public JBossCacheCacheFactory()

  - ### Method Detail

    - #### createCache

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

      Description copied from interface: `CacheFactory`
      creates a new implementation specific Cache object using the env parameters.
      Specified by:
        `createCache` in interface `CacheFactory`
        `env` - implementation specific environment parameters passed to the CacheFactory.
      Returns:
        an implementation specific Cache object.

    - #### destroy

          public void destroy()

      Specified by:
        `destroy` in interface `CacheFactory`

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