org.eclipse.higgins.cache.api
Interface ICacheProvider

All Known Implementing Classes:
NOCacheProvider

public interface ICacheProvider

Author:
Alexander Yuhimenko

Field Summary
static String CacheProviderClassName
          Property name from CacheConfiguration.xml
static String CacheProviderConfigurationURL
          Property name from CacheConfiguration.xml
 
Method Summary
 void configure(Properties properties)
          Initial configuration
 ICache getCache(String name)
           
 

Field Detail

CacheProviderClassName

public static final String CacheProviderClassName
Property name from CacheConfiguration.xml

See Also:
Constant Field Values

CacheProviderConfigurationURL

public static final String CacheProviderConfigurationURL
Property name from CacheConfiguration.xml

See Also:
Constant Field Values
Method Detail

configure

public void configure(Properties properties)
Initial configuration

Parameters:
properties - has property need for configure (CacheProviderConfigurationURL etc)

getCache

public ICache getCache(String name)
Parameters:
name - cache name, if cache don't found provider must create default cache
Returns:
cache instance