use of org.qi4j.api.configuration.Configuration in project qi4j-sdk by Qi4j.
the class EhCachePoolMixin method activateService.
@Override
public void activateService() throws Exception {
net.sf.ehcache.config.Configuration configuration = new net.sf.ehcache.config.Configuration();
configureEhCache(configuration);
CacheConfiguration cc = createCacheConfiguration("qi4j.ehcache.config.default");
configuration.setDefaultCacheConfiguration(cc);
cacheManager = CacheManager.newInstance(configuration);
}
Aggregations