@Component public class TaskServerMainThread extends Object implements org.springframework.boot.ApplicationRunner, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| 构造器和说明 |
|---|
TaskServerMainThread() |
public void run(org.springframework.boot.ApplicationArguments args)
throws Exception
run 在接口中 org.springframework.boot.ApplicationRunnerExceptionpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2023. All rights reserved.