2018-05-22 14:47:53 +03:00
|
|
|
package com.baeldung.ctx1;
|
2018-05-20 22:44:46 +05:30
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
2018-05-22 14:47:53 +03:00
|
|
|
import com.baeldung.parent.IHomeService;
|
2018-05-20 22:44:46 +05:30
|
|
|
|
|
|
|
|
@Service
|
|
|
|
|
public class GreetingService implements IHomeService {
|
|
|
|
|
|
|
|
|
|
public String getGreeting() {
|
|
|
|
|
return "Greetings for the day";
|
|
|
|
|
}
|
|
|
|
|
}
|