Pluggable cache framework using Service Framework
<dependency>
<groupId>com.daedafusion</groupId>
<artifactId>cache-core</artifactId>
<version>1.1</version>
</dependency>
cache-ehcache
is a simple memory only cache backed by ehcache.
<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}