[JAVA-25490] Package renaming

This commit is contained in:
panos-kakos 2023-09-26 08:42:23 +03:00
parent 1efb25df79
commit a4aa3a69b7
12 changed files with 17 additions and 18 deletions

View File

@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonFunctionBean;
import com.baeldung.scope.singleton.SingletonFunctionBean;
@Configuration
public class AppConfigFunctionBean {

View File

@ -1,10 +1,10 @@
package com.baeldung.scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonAppContextBean;
import com.baeldung.scope.singletone.SingletonBean;
import com.baeldung.scope.singletone.SingletonObjectFactoryBean;
import com.baeldung.scope.singletone.SingletonProviderBean;
import com.baeldung.scope.singleton.SingletonAppContextBean;
import com.baeldung.scope.singleton.SingletonBean;
import com.baeldung.scope.singleton.SingletonObjectFactoryBean;
import com.baeldung.scope.singleton.SingletonProviderBean;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

View File

@ -1,7 +1,7 @@
package com.baeldung.scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonBean;
import com.baeldung.scope.singleton.SingletonBean;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.*;

View File

@ -1,7 +1,7 @@
package com.baeldung.scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonBean;
import com.baeldung.scope.singleton.SingletonBean;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.util.Assert;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import com.baeldung.scope.prototype.PrototypeBean;
import org.springframework.beans.BeansException;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import com.baeldung.scope.prototype.PrototypeBean;
import org.apache.log4j.Logger;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import java.util.function.Function;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import com.baeldung.scope.prototype.PrototypeBean;
import org.springframework.beans.factory.annotation.Lookup;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import com.baeldung.scope.prototype.PrototypeBean;
import org.springframework.beans.factory.ObjectFactory;

View File

@ -1,4 +1,4 @@
package com.baeldung.scope.singletone;
package com.baeldung.scope.singleton;
import com.baeldung.scope.prototype.PrototypeBean;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,10 +1,9 @@
package com.baeldung.scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonFunctionBean;
import com.baeldung.scope.singletone.SingletonLookupBean;
import com.baeldung.scope.singletone.SingletonObjectFactoryBean;
import com.baeldung.scope.singletone.SingletonProviderBean;
import com.baeldung.scope.singleton.SingletonLookupBean;
import com.baeldung.scope.singleton.SingletonObjectFactoryBean;
import com.baeldung.scope.singleton.SingletonProviderBean;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;

View File

@ -11,7 +11,7 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
import com.baeldung.config.scope.AppConfigFunctionBean;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.singletone.SingletonFunctionBean;
import com.baeldung.scope.singleton.SingletonFunctionBean;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(loader = AnnotationConfigContextLoader.class, classes = AppConfigFunctionBean.class)