BAEL-20262: Migrate spring-exceptions module to the com.baeldung package
This commit is contained in:
+1
-1
@@ -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;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause1;
|
||||
|
||||
public class BeanB {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause2;
|
||||
package com.baeldung.ex.beancreationexception.cause2;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause2;
|
||||
package com.baeldung.ex.beancreationexception.cause2;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause2;
|
||||
|
||||
public interface IBeanB {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause3;
|
||||
package com.baeldung.ex.beancreationexception.cause3;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause4;
|
||||
package com.baeldung.ex.beancreationexception.cause4;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause4;
|
||||
|
||||
public interface IBeanA {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause5;
|
||||
package com.baeldung.ex.beancreationexception.cause5;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause5;
|
||||
|
||||
public interface IBeanA {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause6;
|
||||
package com.baeldung.ex.beancreationexception.cause6;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause6;
|
||||
package com.baeldung.ex.beancreationexception.cause6;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause6;
|
||||
|
||||
public interface IBeanB {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -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
-1
@@ -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;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause8;
|
||||
|
||||
public interface IBeanA {
|
||||
//
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause8;
|
||||
|
||||
public interface IBeanB {
|
||||
//
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package org.baeldung.ex.beancreationexception.cause9;
|
||||
package com.baeldung.ex.beancreationexception.cause9;
|
||||
|
||||
public abstract class BeanA implements IBeanA {
|
||||
//
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause9;
|
||||
|
||||
public class BeanB {
|
||||
//
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.ex.beancreationexception.cause9;
|
||||
|
||||
public interface IBeanA {
|
||||
//
|
||||
}
|
||||
+2
-2
@@ -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() {
|
||||
+2
-2
@@ -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() {
|
||||
+2
-2
@@ -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() {
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
+2
-2
@@ -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() {
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
+2
-2
@@ -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() {
|
||||
+3
-3
@@ -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
Reference in New Issue
Block a user