separate configs

This commit is contained in:
Loredana Crusoveanu
2018-06-24 20:02:31 +03:00
parent 32a9212fc9
commit 588f84aa83
3 changed files with 5 additions and 7 deletions
@@ -1,8 +1,7 @@
package com.baeldung.scope;
package com.baeldung.config.scope;
import java.util.function.Function;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
@@ -13,7 +13,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
@Configuration
@ComponentScan("com.baeldung.scope")
@ComponentScan(value="com.baeldung.scope")
public class AppConfig {
@Bean