throw new CacheException(service.getStartException());
}
EmbeddedCacheManagerConfiguration config = service.getValue();
GlobalConfiguration global = new GlobalConfigurationBuilder().read(config.getGlobalConfiguration()).classLoader(this.getClass().getClassLoader()).build();
EmbeddedCacheManager manager = new DefaultEmbeddedCacheManager(global, config.getDefaultCache());
manager.start();
return manager;
}
static class NotifyingListener<T> extends AbstractServiceListener<T> {
@Override