com.scooterframework.cache
Class CacheProviderUtil

java.lang.Object
  extended by com.scooterframework.cache.CacheProviderUtil

public class CacheProviderUtil
extends java.lang.Object

CacheProviderUtil class


Constructor Summary
CacheProviderUtil()
           
 
Method Summary
static CacheProvider getCacheProvider(java.lang.String providerName)
          Returns a reusable cache instance.
static java.util.Properties getCacheProviderProperties(java.lang.String providerName)
          Returns properties of a cache provider.
static CacheProvider getDefaultCacheProvider()
          Returns default cache provider instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheProviderUtil

public CacheProviderUtil()
Method Detail

getCacheProvider

public static CacheProvider getCacheProvider(java.lang.String providerName)
Returns a reusable cache instance.

Parameters:
providerName - cache provider name
Returns:
a single cache instance

getDefaultCacheProvider

public static CacheProvider getDefaultCacheProvider()
Returns default cache provider instance.

Returns:
a single cache instance

getCacheProviderProperties

public static java.util.Properties getCacheProviderProperties(java.lang.String providerName)
Returns properties of a cache provider.

Parameters:
providerName - cache provider name
Returns:
Properties