chao.java.tools.servicepool.cache.Specific Maven / Gradle / Ivy
package chao.java.tools.servicepool.cache;
import chao.java.tools.servicepool.IService;
/**
* @author luqin
* @since 2020-07-23
*/
public final class Specific extends AbsServiceCacheStrategy {
private T service;
public Specific(T service) {
this.service = service;
}
@Override
public T getService(Class serviceClass, Class originClass) {
return getProxyService(originClass, service);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy