mirror of
https://github.com/ityouknow/spring-boot-examples.git
synced 2026-03-13 10:22:11 +08:00
15 lines
403 B
Java
15 lines
403 B
Java
package com.neo.runner;
|
|
|
|
import org.springframework.boot.CommandLineRunner;
|
|
import org.springframework.core.annotation.Order;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
@Order(2)
|
|
public class OrderRunner2 implements CommandLineRunner {
|
|
|
|
@Override
|
|
public void run(String... args) throws Exception {
|
|
System.out.println("The OrderRunner2 start to initialize ...");
|
|
}
|
|
} |