BAEL-20262: Migrate spring-exceptions module to the com.baeldung package

This commit is contained in:
Krzysztof Woyke
2019-12-20 12:32:07 +01:00
parent b8e73d5b8c
commit 98bdc464da
143 changed files with 326 additions and 337 deletions
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause1;
package com.baeldung.ex.beancreationexception.cause1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause1;
public class BeanB {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause2;
package com.baeldung.ex.beancreationexception.cause2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause2;
package com.baeldung.ex.beancreationexception.cause2;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause2;
package com.baeldung.ex.beancreationexception.cause2;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause2;
public interface IBeanB {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause3;
package com.baeldung.ex.beancreationexception.cause3;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause4;
package com.baeldung.ex.beancreationexception.cause4;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause4;
public interface IBeanA {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause5;
package com.baeldung.ex.beancreationexception.cause5;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause5;
public interface IBeanA {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause6;
package com.baeldung.ex.beancreationexception.cause6;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause6;
package com.baeldung.ex.beancreationexception.cause6;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause6;
public interface IBeanB {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause8;
package com.baeldung.ex.beancreationexception.cause8;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause8;
package com.baeldung.ex.beancreationexception.cause8;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause8;
public interface IBeanA {
//
}
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause8;
public interface IBeanB {
//
}
@@ -1,4 +1,4 @@
package org.baeldung.ex.beancreationexception.cause9;
package com.baeldung.ex.beancreationexception.cause9;
public abstract class BeanA implements IBeanA {
//
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause9;
public class BeanB {
//
}
@@ -0,0 +1,5 @@
package com.baeldung.ex.beancreationexception.cause9;
public interface IBeanA {
//
}
@@ -1,10 +1,10 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause1")
@ComponentScan("com.baeldung.ex.beancreationexception.cause1")
public class Cause1ContextWithJavaConfig {
public Cause1ContextWithJavaConfig() {
@@ -1,10 +1,10 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause2")
@ComponentScan("com.baeldung.ex.beancreationexception.cause2")
public class Cause2ContextWithJavaConfig {
public Cause2ContextWithJavaConfig() {
@@ -1,10 +1,10 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause3")
@ComponentScan("com.baeldung.ex.beancreationexception.cause3")
public class Cause3ContextWithJavaConfig {
public Cause3ContextWithJavaConfig() {
@@ -1,11 +1,11 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause4")
@ComponentScan("com.baeldung.ex.beancreationexception.cause4")
@ImportResource("classpath:beancreationexception_cause4.xml")
public class Cause4ContextWithJavaConfig {
@@ -1,10 +1,10 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause5")
@ComponentScan("com.baeldung.ex.beancreationexception.cause5")
public class Cause5ContextWithJavaConfig {
public Cause5ContextWithJavaConfig() {
@@ -1,11 +1,11 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause6")
@ComponentScan("com.baeldung.ex.beancreationexception.cause6")
@ImportResource("classpath:beancreationexception_cause6.xml")
public class Cause6ContextWithJavaConfig {
@@ -1,11 +1,11 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause7")
@ComponentScan("com.baeldung.ex.beancreationexception.cause7")
@ImportResource("classpath:beancreationexception_cause7.xml")
public class Cause7ContextWithJavaConfig {
@@ -1,10 +1,10 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause8")
@ComponentScan("com.baeldung.ex.beancreationexception.cause8")
public class Cause8ContextWithJavaConfig {
public Cause8ContextWithJavaConfig() {
@@ -1,6 +1,6 @@
package org.baeldung.ex.beancreationexception.spring;
package com.baeldung.ex.beancreationexception.spring;
import org.baeldung.ex.beancreationexception.cause9.BeanB;
import com.baeldung.ex.beancreationexception.cause9.BeanB;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
@@ -9,7 +9,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@Configuration
@ComponentScan("org.baeldung.ex.beancreationexception.cause9")
@ComponentScan("com.baeldung.ex.beancreationexception.cause9")
@ImportResource("classpath:beancreationexception_cause9.xml")
public class Cause9ContextWithJavaConfig {
@Autowired

Some files were not shown because too many files have changed in this diff Show More