a33a597fa07219637b6e7c954213741031b5e6c3
[mediacube.git] /
1 package hu.user.mediacube.indexer;\r
2 \r
3 import org.springframework.beans.factory.annotation.Autowired;\r
4 \r
5 //@Service\r
6 public class PolishGreetingService implements GreetingService {\r
7 \r
8         @Autowired\r
9         private JsonProperties jsonProperties;\r
10 \r
11         @Override\r
12         public String greet(int id) {\r
13                 String message = "Hello";\r
14                 if (jsonProperties != null)\r
15                         message = jsonProperties.getPolishMessage();\r
16                 return message + " " + id;\r
17         }\r
18 }