Design: Background thread with a Spring service
<p>I have Spring service which after performing some tasks,initiates a background Async tasks. The task itself I have defined as a component.
Now, If I have to use some method belonging to my the service which initiated the thread. I can Autowire the service in the thread(Component) and it will work. Problem is...The design. It brings in kind of circular dependency? 
How can we tackle such issue?</p>

<p>ServiceA-> Starts a ThreadA component->ThreadA Needs to call a method in the ServiceA.</p>