The Spring Framework

Deprecated API


Contents
Deprecated Interfaces
org.springframework.web.bind.BindInitializer
          since Spring 1.2.7: prefer direct ServletRequestDataBinder usage, potentially in combination with a PropertyEditorRegistrar 
org.springframework.beans.factory.xml.XmlBeanDefinitionParser
          as of Spring 2.0: superseded by BeanDefinitionDocumentReader 
 

Deprecated Classes
org.springframework.web.bind.BindUtils
          since Spring 1.2.7: prefer direct ServletRequestDataBinder usage, potentially in combination with a PropertyEditorRegistrar 
org.springframework.context.event.ConsoleListener
          since Spring 1.2.7: doesn't serve any purpose 
org.springframework.aop.support.DynamicMethodMatcherPointcutAdvisor
          since 2.0, in favor of using DefaultPointcutAdvisor with a runtime DynamicMethodMatcherPointcut 
org.springframework.web.bind.RequestUtils
          since Spring 2.0: use ServletRequestUtils instead 
 

Deprecated Fields
org.springframework.validation.BindException.ERROR_KEY_PREFIX
          in favor of BindingResult.MODEL_KEY_PREFIX 
org.springframework.web.util.UrlPathHelper.INCLUDE_CONTEXT_PATH_REQUEST_ATTRIBUTE
          as of Spring 2.0, in favor of WebUtils.INCLUDE_CONTEXT_PATH_ATTRIBUTE 
org.springframework.web.util.UrlPathHelper.INCLUDE_SERVLET_PATH_REQUEST_ATTRIBUTE
          as of Spring 2.0, in favor of WebUtils.INCLUDE_SERVLET_PATH_ATTRIBUTE 
org.springframework.web.util.UrlPathHelper.INCLUDE_URI_REQUEST_ATTRIBUTE
          as of Spring 2.0, in favor of WebUtils.INCLUDE_REQUEST_URI_ATTRIBUTE 
 

Deprecated Methods
org.springframework.mock.web.MockHttpServletRequest.addRole(String)
          in favor of addUserRole 
org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(String, String, ConstructorArgumentValues, MutablePropertyValues, ClassLoader)
          in favor of createBeanDefinition(String, String, ClassLoader) 
org.springframework.scheduling.timer.TimerFactoryBean.createTimer(boolean)
          as of Spring 2.0.1, in favor of TimerFactoryBean.createTimer(String, boolean) 
org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary(Object, Class)
          in favor of convertIfNecessary 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.findMatchingBeans(Class)
          as of Spring 2.0.1: Override findAutowireCandidates instead 
org.springframework.validation.DataBinder.getErrors()
          in favor of getBindingResult() 
org.springframework.web.servlet.mvc.multiaction.MultiActionController.initBinder(ServletRequest, ServletRequestDataBinder)
          since Spring 2.0: use initBinder(HttpServletRequest, ServletRequestDataBinder) instead 
org.springframework.beans.BeanUtils.isAssignable(Class, Class)
          as of Spring 2.0, in favor of ClassUtils.isAssignable 
org.springframework.beans.BeanUtils.isAssignable(Class, Object)
          as of Spring 2.0, in favor of ClassUtils.isAssignableValue 
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(Class, String)
          in favor of isInfrastructureClass(beanClass) 
org.springframework.jmx.export.MBeanExporter.setAutodetect(boolean)
          in favor of MBeanExporter.setAutodetectModeName(String) 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setParserClass(Class)
          as of Spring 2.0: superseded by "documentReaderClass" 
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory.setTemplateLoaders(TemplateLoader[])
          as of Spring 2.0.1, in favor of the "preTemplateLoaders" and "postTemplateLoaders" properties 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidating(boolean)
          as of Spring 2.0: superseded by "validationMode" 
 

Deprecated Constructors
org.springframework.beans.factory.BeanDefinitionStoreException(Resource, String, String)
          as of Spring 2.0, in favor of the constructor variant with a resource description argument 
org.springframework.beans.factory.BeanDefinitionStoreException(Resource, String, String, Throwable)
          as of Spring 2.0, in favor of the constructor variant with a resource description argument 
 


The Spring Framework

Copyright © 2002-2006 The Spring Framework.