// Path: 6.ExamplesToUnderstandMore/src/main/java/com/in28minutes/spring/example1/dataservice/api/TodoDataService.java
// public interface TodoDataService {
// 	List<String> retrieveTodos(String user);
// }


import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.in28minutes.spring.example1.dataservice.api.TodoDataService;
package com.in28minutes.spring.example1.businessservice;




@Component
public class TodoBusinessService {

	@Autowired
// Path: 6.ExamplesToUnderstandMore/src/main/java/com/in28minutes/spring/example1/dataservice/api/TodoDataService.java
// public interface TodoDataService {
// 	List<String> retrieveTodos(String user);
// }


// Path: 6.ExamplesToUnderstandMore/src/main/java/com/in28minutes/spring/example1/businessservice/TodoBusinessService.java
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.in28minutes.spring.example1.dataservice.api.TodoDataService;

package com.in28minutes.spring.example1.businessservice;




@Component
public class TodoBusinessService {

	@Autowired
	TodoDataService dataService;// = new TodoDataServiceStub()