org.apache.cayenne.cache
Class OSQueryCacheFactory

java.lang.Object
  extended by org.apache.cayenne.cache.OSQueryCacheFactory
All Implemented Interfaces:
QueryCacheFactory

public class OSQueryCacheFactory
extends Object
implements QueryCacheFactory

A factory for the OSCache factory. "/oscache.properties" file is read to load the standard OSCache properties and also extra properties

Since:
3.0

Constructor Summary
OSQueryCacheFactory()
           
 
Method Summary
 QueryCache getQueryCache(Map<String,String> properties)
          Creates QueryCache, ignoring provided properties, and reading data from "oscache.properties" file instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSQueryCacheFactory

public OSQueryCacheFactory()
Method Detail

getQueryCache

public QueryCache getQueryCache(Map<String,String> properties)
Creates QueryCache, ignoring provided properties, and reading data from "oscache.properties" file instead.

Specified by:
getQueryCache in interface QueryCacheFactory


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.