Deprecated API


Contents
Deprecated Classes
org.springframework.aop.interceptor.TraceInterceptor
          in favor of SimpleTraceInterceptor 
 

Deprecated Fields
org.springframework.core.io.support.ResourcePatternResolver.CLASSPATH_URL_PREFIX
          as of Spring 1.2.2, in favor of CLASSPATH_ALL_URL_PREFIX (to avoid shadowing the constant of the same name in ResourceLoader) 
 

Deprecated Methods
org.springframework.mock.web.MockHttpServletRequest.addRole(String)
          in favor of addUserRole 
org.springframework.beans.factory.BeanFactoryUtils.beanNamesIncludingAncestors(ListableBeanFactory, Class)
          in favor of beanNamesForTypeIncludingAncestors. This method will be removed as of Spring 1.3. 
org.springframework.jdbc.core.support.JdbcDaoSupport.closeConnectionIfNecessary(Connection)
          in favor of releaseConnection 
org.springframework.jdbc.datasource.DataSourceUtils.closeConnectionIfNecessary(Connection, DataSource)
          in favor of releaseConnection 
org.springframework.orm.ojb.support.PersistenceBrokerDaoSupport.closePersistenceBrokerIfNecessary(PersistenceBroker)
          in favor of releasePersistenceBroker 
org.springframework.orm.ojb.OjbFactoryUtils.closePersistenceBrokerIfNecessary(PersistenceBroker, PBKey)
          in favor of releasePersistenceBroker 
org.springframework.orm.jdo.support.JdoDaoSupport.closePersistenceManagerIfNecessary(PersistenceManager)
          in favor of releasePersistenceManager 
org.springframework.orm.jdo.PersistenceManagerFactoryUtils.closePersistenceManagerIfNecessary(PersistenceManager, PersistenceManagerFactory)
          in favor of releasePersistenceManager 
org.springframework.orm.hibernate3.support.HibernateDaoSupport.closeSessionIfNecessary(Session)
          in favor of releaseSession 
org.springframework.orm.hibernate.support.HibernateDaoSupport.closeSessionIfNecessary(Session)
          in favor of releaseSession 
org.springframework.orm.hibernate.SessionFactoryUtils.closeSessionIfNecessary(Session, SessionFactory)
          in favor of releaseSession 
org.springframework.orm.hibernate3.SessionFactoryUtils.closeSessionIfNecessary(Session, SessionFactory)
          in favor of releaseSession 
org.springframework.web.servlet.view.xslt.AbstractXsltView.createDomNode(Map, String, HttpServletRequest, HttpServletResponse)
          in favor of createXsltSource(Map, String, HttpServletRequest, HttpServletResponse) 
org.springframework.web.servlet.view.xslt.AbstractXsltView.doTransform(Map, Node, HttpServletRequest, HttpServletResponse)
          the preferred method is doTransform with a Source argument 
org.springframework.web.servlet.view.xslt.AbstractXsltView.doTransform(Node, Map, Result, String)
          the preferred method is doTransform(Source source, Map parameters, Result result, String encoding) 
org.springframework.aop.support.AopUtils.getAllInterfaces(Object)
          in favor of ClassUtils.getAllInterfaces 
org.springframework.aop.support.AopUtils.getAllInterfacesAsList(Object)
          in favor of ClassUtils.getAllInterfacesAsSet 
org.springframework.aop.support.AopUtils.getAllInterfacesForClass(Class)
          in favor of ClassUtils.getAllInterfacesForClass 
org.springframework.aop.support.AopUtils.getAllInterfacesForClassAsList(Class)
          in favor of ClassUtils.getAllInterfacesForClassAsSet 
org.springframework.beans.factory.ListableBeanFactory.getBeanDefinitionNames(Class)
          in favor of getBeanNamesForType. This method will be removed as of Spring 1.3. 
org.springframework.web.servlet.view.document.AbstractPdfView.getDocument()
          in favor of newDocument 
org.springframework.web.servlet.mvc.AbstractWizardFormController.isCancel(HttpServletRequest)
          in favor of isCancelRequest 
org.springframework.web.servlet.mvc.AbstractWizardFormController.isFinish(HttpServletRequest)
          in favor of isFinishRequest 
org.springframework.ui.jasperreports.JasperReportsUtils.render(JRAbstractExporter, JasperPrint, OutputStream)
          in favor of the render version with JRExporter parameter 
org.springframework.ui.jasperreports.JasperReportsUtils.render(JRAbstractExporter, JasperPrint, Writer)
          in favor of the render version with JRExporter parameter 
org.springframework.jdbc.support.JdbcUtils.translateType(int)
          This is only used by deprecated constructors in SqlFunction and will be removed alongside those constructors. 
 

Deprecated Constructors
org.springframework.jdbc.object.SqlFunction(DataSource, String, int)
          Use the constructor with a result type Class instead. Note that the current version of SqlFunction will be able to guess the correct result type in my cases, so you often don't even need to specifiy the result type explicitly. 
org.springframework.jdbc.object.SqlFunction(DataSource, String, int[], int)
          Use the constructor with a result type Class instead. Note that the current version of SqlFunction will be able to guess the correct result type in my cases, so you often don't even need to specifiy the result type explicitly. 
 



Copyright (c) 2002-2005 The Spring Framework Project.