package com.vitco.manager.thread; import com.vitco.manager.action.ActionManager; import org.springframework.beans.factory.annotation.Autowired; import javax.annotation.PostConstruct; /** * Helps with creating threads. */ public interface ThreadManagerInterface { // set the action handler @Autowired void setActionManager(ActionManager actionManager); void manage(LifeTimeThread thread); @PostConstruct void init(); void remove(LifeTimeThread thread); }