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.aop.framework.AdvisorChainFactoryUtils
          as of Spring 2.0.3, in favor of DefaultAdvisorChainFactory. This utility class will be removed in Spring 2.1. 
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.aop.framework.HashMapCachingAdvisorChainFactory
          as of Spring 2.0.3, in favor of AdvisedSupport's built-in caching. This class will be removed in Spring 2.1. 
org.springframework.web.bind.RequestUtils
          as of Spring 2.0: use ServletRequestUtils instead 
org.springframework.beans.factory.config.ResourceFactoryBean
          in favor of implicit String-to-Resource conversion through the automatically registered ResourceEditor 
 

Deprecated Fields
org.springframework.core.task.SimpleAsyncTaskExecutor.DEFAULT_THREAD_NAME_PREFIX
          as of Spring 2.0.3, since the default thread name prefix is now taken from the concrete class (could be a subclass) 
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.xml.NamespaceHandlerSupport.findDecoratorForNode(Node)
          as of Spring 2.0.2; there should be no need to call this directly. 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.findMatchingBeans(Class)
          as of Spring 2.0.1: Override findAutowireCandidates instead 
org.springframework.beans.factory.xml.NamespaceHandlerSupport.findParserForElement(Element)
          as of Spring 2.0.2; there should be no need to call this directly. 
org.springframework.validation.DataBinder.getErrors()
          in favor of DataBinder.getBindingResult(). Use the BindException.BindException(BindingResult) constructor to create a BindException instance if still needed. 
org.springframework.web.servlet.view.xslt.AbstractXsltView.getParameters()
          as of Spring 2.0.4, in favor of the AbstractXsltView.getParameters(HttpServletRequest) variant 
org.springframework.aop.framework.AopProxyUtils.getTargetClass(Object)
          as of Spring 2.0.3, in favor of AopUtils.getTargetClass 
org.springframework.web.servlet.mvc.multiaction.MultiActionController.initBinder(ServletRequest, ServletRequestDataBinder)
          as of 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.instrument.classloading.ShadowingClassLoader.isClassNameExcludedFromShadowing(String)
          in favor of ShadowingClassLoader.isEligibleForShadowing(java.lang.String) 
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(Class, String)
          in favor of isInfrastructureClass(beanClass) 
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.performJaxRpcCall(MethodInvocation)
          as of Spring 2.0.3, in favor of the performJaxRpcCall variant with an explicit Service argument 
org.springframework.orm.ibatis.SqlMapClientTemplate.queryForPaginatedList(String, int)
          as of iBATIS 2.3.0 
org.springframework.orm.ibatis.SqlMapClientOperations.queryForPaginatedList(String, int)
          as of iBATIS 2.3.0 
org.springframework.orm.ibatis.SqlMapClientTemplate.queryForPaginatedList(String, Object, int)
          as of iBATIS 2.3.0 
org.springframework.orm.ibatis.SqlMapClientOperations.queryForPaginatedList(String, Object, int)
          as of iBATIS 2.3.0 
org.springframework.beans.factory.config.ConfigurableBeanFactory.registerCustomEditor(Class, PropertyEditor)
          as of Spring 2.0.7, in favor of ConfigurableBeanFactory.addPropertyEditorRegistrar(org.springframework.beans.PropertyEditorRegistrar) 
org.springframework.jmx.export.MBeanExporter.setAutodetect(boolean)
          in favor of MBeanExporter.setAutodetectModeName(String) 
org.springframework.beans.factory.config.CustomEditorConfigurer.setCustomEditors(Map)
          as of Spring 2.0.7, in favor of CustomEditorConfigurer.setPropertyEditorRegistrars(org.springframework.beans.PropertyEditorRegistrar[]) 
org.springframework.web.filter.GenericFilterBean.setFilterConfig(FilterConfig)
          as of Spring 2.0; to be removed in Spring 2.1 
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" 
org.springframework.web.servlet.mvc.BaseCommandController.suppressValidation(HttpServletRequest)
          as of Spring 2.0.4, in favor of the BaseCommandController.suppressValidation(HttpServletRequest, Object) variant 
 

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-2007 The Spring Framework.