BAEL-20552: Migrate spring-4 module to the com.baeldung package

This commit is contained in:
Krzysztof Woyke 2019-12-27 14:35:32 +01:00
parent b63a8c2335
commit 7a827f178f
41 changed files with 48 additions and 48 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.attributeannotations;
package com.baeldung.spring43.attributeannotations;
import org.springframework.web.bind.annotation.*;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.attributeannotations;
package com.baeldung.spring43.attributeannotations;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.cache;
package com.baeldung.spring43.cache;
import java.util.concurrent.atomic.AtomicInteger;

View File

@ -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;

View File

@ -0,0 +1,5 @@
package com.baeldung.spring43.composedmapping;
public class Appointment {
}

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.composedmapping;
package com.baeldung.spring43.composedmapping;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.composedmapping;
package com.baeldung.spring43.composedmapping;
import java.util.Map;

View File

@ -0,0 +1,5 @@
package com.baeldung.spring43.ctor;
public class FooRepository {
}

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.ctor;
package com.baeldung.spring43.ctor;
public class FooService {

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import java.time.LocalDate;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.depresolution;
package com.baeldung.spring43.depresolution;
import org.springframework.stereotype.Repository;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.scopeannotations;
package com.baeldung.spring43.scopeannotations;
import java.util.concurrent.atomic.AtomicInteger;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +0,0 @@
package org.baeldung.spring43.composedmapping;
public class Appointment {
}

View File

@ -1,5 +0,0 @@
package org.baeldung.spring43.ctor;
public class FooRepository {
}

View File

@ -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>

View File

@ -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>

View File

@ -1,4 +1,4 @@
package org.baeldung;
package com.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.attributeannotations;
package com.baeldung.spring43.attributeannotations;
import org.junit.Assert;
import org.junit.Before;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.cache;
package com.baeldung.spring43.cache;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.cache;
package com.baeldung.spring43.cache;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.composedmapping;
package com.baeldung.spring43.composedmapping;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.composedmapping;
package com.baeldung.spring43.composedmapping;
import org.junit.Before;
import org.junit.Test;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import java.time.LocalDate;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import org.junit.Test;
import org.springframework.test.context.ContextConfiguration;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.defaultmethods;
package com.baeldung.spring43.defaultmethods;
import javax.sql.DataSource;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring43.scopeannotations;
package com.baeldung.spring43.scopeannotations;
import org.junit.Before;
import org.junit.Test;