// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/SyncCacheResolver.java
// public interface SyncCacheResolver extends CacheResolver {
// 
// }


import javax.cache.CacheManager;
import javax.cache.Caching;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.cache.jcache.JCacheCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.config.cache.SyncCacheResolver;

package com.giffing.bucket4j.spring.boot.starter.config.cache.jcache;




@Configuration
@ConditionalOnClass({ Caching.class, JCacheCacheManager.class })
@ConditionalOnBean(CacheManager.class)
public class JCacheBucket4jConfiguration {
	private CacheManager cacheManager;
	
	public JCacheBucket4jConfiguration(CacheManager cacheManager){
		this.cacheManager = cacheManager;
	}

	@Bean

// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/SyncCacheResolver.java
// public interface SyncCacheResolver extends CacheResolver {
// 
// }


// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/jcache/JCacheBucket4jConfiguration.java
import javax.cache.CacheManager;
import javax.cache.Caching;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.cache.jcache.JCacheCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.config.cache.SyncCacheResolver;

package com.giffing.bucket4j.spring.boot.starter.config.cache.jcache;




@Configuration
@ConditionalOnClass({ Caching.class, JCacheCacheManager.class })
@ConditionalOnBean(CacheManager.class)
public class JCacheBucket4jConfiguration {
	private CacheManager cacheManager;
	
	public JCacheBucket4jConfiguration(CacheManager cacheManager){
		this.cacheManager = cacheManager;
	}

	@Bean

	public SyncCacheResolver bucket4jCacheResolver() {
