spring-beans

Deprecated API


Contents
Deprecated Classes
org.springframework.beans.factory.xml.XmlBeanFactory
          as of Spring 3.1 in favor of DefaultListableBeanFactory and XmlBeanDefinitionReader 
 

Deprecated Fields
org.springframework.beans.factory.support.AbstractBeanDefinition.AUTOWIRE_AUTODETECT
          as of Spring 3.0: If you are using mixed autowiring strategies, use annotation-based autowiring for clearer demarcation of autowiring needs. 
org.springframework.beans.factory.config.AutowireCapableBeanFactory.AUTOWIRE_AUTODETECT
          as of Spring 3.0: If you are using mixed autowiring strategies, prefer annotation-based autowiring for clearer demarcation of autowiring needs. 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.BEAN_NAME_DELIMITERS
          as of Spring 3.1 in favor of BeanDefinitionParserDelegate.MULTI_VALUE_ATTRIBUTE_DELIMITERS 
 

Deprecated Methods
org.springframework.beans.factory.support.BeanDefinitionBuilder.addConstructorArg(Object)
          since Spring 2.5, in favor of BeanDefinitionBuilder.addConstructorArgValue(java.lang.Object) 
org.springframework.beans.factory.config.PropertiesFactoryBean.createInstance()
          as of Spring 3.0, in favor of PropertiesFactoryBean.createProperties() 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.initDefaults(Element)
          in Spring 3.1 in favor of BeanDefinitionParserDelegate.initDefaults(Element, BeanDefinitionParserDelegate) 
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.isEligibleAttribute(Attr)
          in favour of AbstractSimpleBeanDefinitionParser.isEligibleAttribute(org.w3c.dom.Attr, ParserContext) 
org.springframework.beans.factory.support.AbstractBeanDefinition.overrideFrom(AbstractBeanDefinition)
          since Spring 2.5, in favor of AbstractBeanDefinition.overrideFrom(BeanDefinition) 
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.parseStringValue(String, Properties, Set)
          as of Spring 3.0, in favor of using PropertyPlaceholderConfigurer.resolvePlaceholder(java.lang.String, java.util.Properties, int) with PropertyPlaceholderHelper. Only retained for compatibility with Spring 2.5 extensions. 
org.springframework.beans.PropertyEditorRegistrySupport.registerSharedEditor(Class, PropertyEditor)
          as of Spring 3.0, in favor of PropertyEditorRegistrars or ConversionService usage 
org.springframework.beans.factory.support.BeanDefinitionBuilder.setFactoryBean(String, String)
          since Spring 2.5, in favor of preparing this on the raw BeanDefinition object 
org.springframework.beans.factory.support.BeanDefinitionBuilder.setResourceDescription(String)
          since Spring 2.5, in favor of preparing this on the raw BeanDefinition object 
org.springframework.beans.factory.support.BeanDefinitionBuilder.setSingleton(boolean)
          since Spring 2.5, in favor of BeanDefinitionBuilder.setScope(java.lang.String) 
org.springframework.beans.factory.support.AbstractBeanDefinition.setSingleton(boolean)
          since Spring 2.5, in favor of AbstractBeanDefinition.setScope(java.lang.String) 
org.springframework.beans.factory.support.BeanDefinitionBuilder.setSource(Object)
          since Spring 2.5, in favor of preparing this on the raw BeanDefinition object 
 

Deprecated Constructors
org.springframework.beans.factory.support.AbstractBeanDefinition(AbstractBeanDefinition)
          since Spring 2.5, in favor of AbstractBeanDefinition.AbstractBeanDefinition(BeanDefinition) 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate(XmlReaderContext)
          since Spring 3.1 in favor of BeanDefinitionParserDelegate.BeanDefinitionParserDelegate(XmlReaderContext, Environment) 
org.springframework.beans.support.ResourceEditorRegistrar(ResourceLoader)
          as of Spring 3.1 in favor of ResourceEditorRegistrar.ResourceEditorRegistrar(ResourceLoader, PropertyResolver) 
org.springframework.beans.factory.support.RootBeanDefinition(Class, boolean)
          since Spring 2.5, in favor of AbstractBeanDefinition.setScope(java.lang.String) 
org.springframework.beans.factory.support.RootBeanDefinition(Class, int)
          as of Spring 3.0, in favor of AbstractBeanDefinition.setAutowireMode(int) usage 
org.springframework.beans.factory.support.RootBeanDefinition(Class, MutablePropertyValues)
          as of Spring 3.0, in favor of AbstractBeanDefinition.getPropertyValues() usage 
org.springframework.beans.factory.support.RootBeanDefinition(Class, MutablePropertyValues, boolean)
          since Spring 2.5, in favor of AbstractBeanDefinition.setScope(java.lang.String) 
 


spring-beans