public class GitQueue {
private static GitQueue gitQueue;
@Autowired
private Map<String, GitManage> manageMap;
/**
* 初始化mongoTemplateStatic
*/
@PostConstruct
public void init() {
gitQueue = this;
}
private static void doProcess(String key) {
gitQueue.manageMap.get(key);
}
}