Showing
2 changed files
with
32 additions
and
0 deletions
1 | +package org.legrog.recommendation.process; | ||
2 | + | ||
3 | +import org.slf4j.Logger; | ||
4 | +import org.slf4j.LoggerFactory; | ||
5 | +import org.springframework.boot.CommandLineRunner; | ||
6 | +import org.springframework.boot.SpringApplication; | ||
7 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
8 | +import org.springframework.context.annotation.Bean; | ||
9 | + | ||
10 | +@SpringBootApplication | ||
11 | +public class ProcessingApplication { | ||
12 | + | ||
13 | + Logger logger = LoggerFactory.getLogger(getClass()); | ||
14 | + | ||
15 | + public static void main(String[] args) { | ||
16 | + SpringApplication.run(ProcessingApplication.class, args); | ||
17 | + } | ||
18 | + | ||
19 | + @Bean | ||
20 | + public CommandLineRunner process() { | ||
21 | + return (args) -> this.run(); | ||
22 | + } | ||
23 | + | ||
24 | + public void run() { | ||
25 | + | ||
26 | + } | ||
27 | +} |
-
Please register or login to post a comment