[JAVA-25490] Package renaming
This commit is contained in:
parent
1efb25df79
commit
a4aa3a69b7
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.*;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.scope.singletone;
|
||||
package com.baeldung.scope.singleton;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue