org.richfaces.cache

## Class OSCacheCacheFactory

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

- All Implemented Interfaces:
    CacheFactory

      public class OSCacheCacheFactory
      extends Object
      implements CacheFactory

  Author:
    Nick - mailto:nbelaevski@exadel.com created 01.05.2007

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OSCacheCacheFactory()`

  - ### 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

    - #### OSCacheCacheFactory

          public OSCacheCacheFactory()
                              throws ClassNotFoundException

      Throws:
        `ClassNotFoundException`

  - ### 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.