我试过这个解决办法,但我的实现似乎并不工作:How to access Default Idempotent Repository map from java dsl? @Bean
@Scope("prototype")
public static IdempotentRepository<String> getMemoryCache() {
return new MemoryIde
我有这样的一种方式的接口: public interface Vehicle<T> {
void stuff(T param);
}
@Component
public class Car<T> implements Vehicle<T> {
private final Strategy<T> strat;
public Car(@Lazy Strategy