@Autowired not working inside a runnable
问题 I have a runnable task where i am trying to Autowire field but when i do it the task doesn't run . When i Autowire the field outside the runnable it works fine . Why is this happening ? Also is there any other cleaner way to get new instances of a autowired field inside runnable other than Autowiring it inside ? Here's my runnable method ` Runnable task = new Runnable() { @Autowired ICruxPanelClientService CruxPanelClientService; public void run (){ CruxPanelClientService