DCache example project.
An example project to show you how to setup and use DCache.
The main points:
- Make sure you
@ComponentScan(basePackages = ["au.kilemonn.dcache.config"]) - If the application cannot find any
DCacheinstance beans you will need to make sure that beans that@AutowiretheDCacheinstances can be marked with@DependsOn(DCacheConfiguration.DCACHE_CACHE_MANAGER)to make sure its initialised after theDCacheConfiguration.