BAEL-20552: Migrate spring-4 module to the com.baeldung package
This commit is contained in:
parent
b63a8c2335
commit
7a827f178f
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.attributeannotations;
|
||||
package com.baeldung.spring43.attributeannotations;
|
||||
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.attributeannotations;
|
||||
package com.baeldung.spring43.attributeannotations;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.cache;
|
||||
package com.baeldung.spring43.cache;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.cache;
|
||||
package com.baeldung.spring43.cache;
|
||||
|
||||
import org.springframework.cache.annotation.Cacheable;
|
||||
import org.springframework.stereotype.Service;
|
@ -0,0 +1,5 @@
|
||||
package com.baeldung.spring43.composedmapping;
|
||||
|
||||
public class Appointment {
|
||||
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.composedmapping;
|
||||
package com.baeldung.spring43.composedmapping;
|
||||
|
||||
import java.util.Map;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.composedmapping;
|
||||
package com.baeldung.spring43.composedmapping;
|
||||
|
||||
import java.util.Map;
|
||||
|
@ -0,0 +1,5 @@
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
public class FooRepository {
|
||||
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
public class FooService {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.format.DateTimeFormatter;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.depresolution;
|
||||
package com.baeldung.spring43.depresolution;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.depresolution;
|
||||
package com.baeldung.spring43.depresolution;
|
||||
|
||||
import org.springframework.beans.factory.ObjectProvider;
|
||||
import org.springframework.stereotype.Service;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.context.annotation.ApplicationScope;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.context.annotation.RequestScope;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.context.annotation.SessionScope;
|
@ -1,5 +0,0 @@
|
||||
package org.baeldung.spring43.composedmapping;
|
||||
|
||||
public class Appointment {
|
||||
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
|
||||
public class FooRepository {
|
||||
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<bean id="dateHolder" class="org.baeldung.spring43.defaultmethods.DateHolder">
|
||||
<bean id="dateHolder" class="com.baeldung.spring43.defaultmethods.DateHolder">
|
||||
<property name="stringDate" value="15.10.1982"/>
|
||||
</bean>
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<bean class="org.baeldung.spring43.ctor.FooRepository"/>
|
||||
<bean class="com.baeldung.spring43.ctor.FooRepository"/>
|
||||
|
||||
<bean class="org.baeldung.spring43.ctor.FooService"/>
|
||||
<bean class="com.baeldung.spring43.ctor.FooService"/>
|
||||
|
||||
</beans>
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung;
|
||||
package com.baeldung;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.attributeannotations;
|
||||
package com.baeldung.spring43.attributeannotations;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.attributeannotations;
|
||||
package com.baeldung.spring43.attributeannotations;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.cache;
|
||||
package com.baeldung.spring43.cache;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.cache;
|
||||
package com.baeldung.spring43.cache;
|
||||
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.composedmapping;
|
||||
package com.baeldung.spring43.composedmapping;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.composedmapping;
|
||||
package com.baeldung.spring43.composedmapping;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.ctor;
|
||||
package com.baeldung.spring43.ctor;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.defaultmethods;
|
||||
package com.baeldung.spring43.defaultmethods;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.depresolution;
|
||||
package com.baeldung.spring43.depresolution;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.depresolution;
|
||||
package com.baeldung.spring43.depresolution;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.spring43.scopeannotations;
|
||||
package com.baeldung.spring43.scopeannotations;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
Loading…
x
Reference in New Issue
Block a user