Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.3.5.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.cache
Interface CacheFactory

    public interface CacheFactory

CacheFactory is a service provider specific interface. Service provider should implement CacheFactory to provide the functionality to create a new implementation specific Cache object.

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

Method Detail

### createCache

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

  creates a new implementation specific Cache object using the env parameters.

  Parameters:
    `env` - implementation specific environment parameters passed to the CacheFactory.
    `cacheLoader` - implementation of the `CacheLoader` to use
    `cacheConfigurationloader` - TODO
  Returns:
    an implementation specific Cache object.
  Throws:
    `CacheException` - if any error occurs.

### destroy

    void destroy()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.3.5.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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