separate configs
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user