SmartObjectFactory renamed to ObjectProvider (extends ObjectFactory)

Issue: SPR-13943
Issue: SPR-13956
This commit is contained in:
Juergen Hoeller
2016-02-23 14:30:30 +01:00
parent 1899fb37c1
commit ed98393fb2
3 changed files with 14 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.beans.factory.NoUniqueBeanDefinitionException;
import org.springframework.beans.factory.ObjectFactory;
import org.springframework.beans.factory.SmartObjectFactory;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.beans.factory.UnsatisfiedDependencyException;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
@@ -2570,7 +2570,7 @@ public class AutowiredAnnotationBeanPostProcessorTests {
public static class SmartObjectFactoryInjectionBean {
@Autowired
private SmartObjectFactory<TestBean> testBeanFactory;
private ObjectProvider<TestBean> testBeanFactory;
public TestBean getTestBean() {
return this.testBeanFactory.getObject();