How obj is shared, when a class autowired in two other classes

后端 未结 0 1292
醉话见心
醉话见心 2021-02-12 10:29

I have a timer class

@Component
public class MyTimer {

    private ScheduledExecutorService schService;
    
    public void startTimer() {
        Instant i=Ins         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题