af4a3be691f4a9d60564ca4ec6e29a4fa1d15f28
[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 EnglishGreetingService 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.getMessage();\r
16                 return message + " " + id;\r
17         }\r
18 }