| | |
| | | import com.zy.core.thread.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.DependsOn; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | @DependsOn("springContextUtil") |
| | | public class ServerBootstrap { |
| | | |
| | | @Autowired |
| | |
| | | */ |
| | | @PostConstruct |
| | | @Async |
| | | @DependsOn("basDevpService") |
| | | public void init() throws InterruptedException { |
| | | News.info("核心控制层开始初始化..............................................."); |
| | | Thread.sleep(2000); |