protected CacheFactory createCacheFactory(CacheFactory parentFactory) {
return new AutoCloseCacheFactory(parentFactory);
}
protected ClassPathRegistry createClassPathRegistry() {
return new DefaultClassPathRegistry(new WorkerProcessClassPathProvider(get(CacheRepository.class)));
}