MCPcopy Create free account
hub / github.com/JavaCourse00/JavaCourseCodes / App

Class App

app/src/main/java/com/example/app/App.java:8–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import org.springframework.context.annotation.Bean;
7
8@SpringBootApplication
9public class App {
10
11 public static void main(String[] args) {
12 SpringApplication.run(App.class, args);
13 }
14
15
16
17 // ==== 测试自动配置 ====
18 @Autowired
19 WebInfo info;
20
21 @Bean
22 public void printInfo(){
23 System.out.println(info.getName());
24 }
25
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected