mpush-test 中的 spi 没有起作用
oldfeel opened this issue · 1 comments
oldfeel commented
启动 com.mpush.test.sever.ServerTestMain.java 后没有打印 SimpleCacheMangerFactory 中的信息
@Spi(order = 2)
public final class SimpleCacheMangerFactory implements CacheManagerFactory {
@Override
public CacheManager get() {
log("CacheManager");
return FileCacheManger.I;
}
public void log(String str) {
System.out.println("oldfeel-----------" + str);
}
}
oldfeel commented
群里有人(【传说】杭州-夜色)告诉我说 order 改为 0.可以了.