Skip to content

daedafusion/cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Coverage Status

cache

Pluggable cache framework using Service Framework

Maven

<dependency>
    <groupId>com.daedafusion</groupId>
    <artifactId>cache-core</artifactId>
    <version>1.1</version>
</dependency>

Providers

cache-ehcache is a simple memory only cache backed by ehcache.

Framework Configuration

<dependency>
    <groupId>com.daedafusion</groupId>
    <artifactId>cache-ehcache</artifactId>
    <version>1.1</version>
    <classifier>plugin</classifier>
    <type>zip</type>
</dependency>
managedObjectDescriptions:
- infClass: com.df.argos.commons.cache.CacheManager
  implClass: com.df.argos.commons.cache.impl.CacheManagerImpl

- infClass: com.df.argos.commons.cache.providers.CacheManagerProvider
  implClass: com.df.argos.commons.cache.providers.MemoryOnlyEhcacheManager
  loaderUri: framework://loader/cache-ehcache/

loaderDescriptions:
- uri: framework://loader/cache-ehcache/
  loaderClass: com.df.argos.commons.sf.loader.impl.ZipLoader
  resource: file:///opt/argos/plugins/cache-ehcache-plugin.zip
  properties: {pluginName: cache-ehcache}