// Path: 2.RealWorldExample/business/api/src/main/java/com/in28minutes/example/layering/business/api/TodoBusinessService.java
// public interface TodoBusinessService {
// 	List<Todo> retrieveTodosRelatedToSpring(String user);
// }


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import com.in28minutes.example.layering.business.api.TodoBusinessService;

package com.in28minutes.example.layering.business.main;



@Configuration
@ComponentScan(basePackages = { "com.in28minutes" })
class SpringContext {
}

@Component
public class Main {

	@Autowired

// Path: 2.RealWorldExample/business/api/src/main/java/com/in28minutes/example/layering/business/api/TodoBusinessService.java
// public interface TodoBusinessService {
// 	List<Todo> retrieveTodosRelatedToSpring(String user);
// }


// Path: 2.RealWorldExample/business/impl/src/main/java/com/in28minutes/example/layering/business/main/Main.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import com.in28minutes.example.layering.business.api.TodoBusinessService;

package com.in28minutes.example.layering.business.main;



@Configuration
@ComponentScan(basePackages = { "com.in28minutes" })
class SpringContext {
}

@Component
public class Main {

	@Autowired

	private TodoBusinessService todoBusinessService;
