Deprecated API

Deprecated Classes
org.springframework.jndi.AbstractJndiLocator
          Derive from JndiObjectLocator instead, invoking the lookup method whenever the subclass needs it (instead of waiting for a "located" callback). 
org.springframework.web.servlet.tags.BindStatus
          in favor of org.springframework.web.servlet.support.BindStatus 
org.springframework.aop.support.RegexpMethodPointcut
          use Perl5RegexpMethodPointcut instead 
 

Deprecated Methods
org.springframework.aop.framework.Advised.addAfterReturningAdvice(AfterReturningAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.addAfterReturningAdvice(AfterReturningAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.Advised.addBeforeAdvice(MethodBeforeAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.addBeforeAdvice(MethodBeforeAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.Advised.addInterceptor(Interceptor)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.addInterceptor(Interceptor)
          in favor of addAdvice 
org.springframework.aop.framework.Advised.addInterceptor(int, Interceptor)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.addInterceptor(int, Interceptor)
          in favor of addAdvice 
org.springframework.aop.framework.Advised.addThrowsAdvice(ThrowsAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.addThrowsAdvice(ThrowsAdvice)
          in favor of addAdvice 
org.springframework.aop.framework.AdvisedSupport.countInterceptorsOfType(Class)
          in favor of countAdvicesOfType 
org.springframework.web.servlet.view.velocity.VelocityView.exposeHelpers(Context, HttpServletRequest)
          in favor of exposeHelpers(Map, HttpServletRequest) 
org.springframework.orm.hibernate.HibernateTemplate.findByNamedQuery(String, String[], Object[])
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateOperations.findByNamedQuery(String, String[], Object[])
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateTemplate.findByNamedQuery(String, String[], Object[], Type[])
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateOperations.findByNamedQuery(String, String[], Object[], Type[])
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateTemplate.findByNamedQuery(String, String, Object)
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateOperations.findByNamedQuery(String, String, Object)
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateTemplate.findByNamedQuery(String, String, Object, Type)
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.orm.hibernate.HibernateOperations.findByNamedQuery(String, String, Object, Type)
          in favor of findByNamedQueryAndNamedParam, to avoid parameter overloading ambiguities 
org.springframework.aop.target.PoolingConfig.getActive()
          in favor of getActiveCount 
org.springframework.aop.target.CommonsPoolTargetSource.getActive()
          in favor of getActiveCount 
org.springframework.beans.factory.config.BeanDefinition.getBeanClass()
          Use BeanFactory's getType method instead, which properly resolves child bean definitions and asks FactoryBeans for the type of object they create. 
org.springframework.jdbc.datasource.DataSourceUtils.getDataSourceFromJndi(String)
          in favor of managing a DataSource via dependency injection, i.e. using a JndiObjectFactoryBean for a JNDI DataSource and pass a bean reference to a setDataSource(DataSource) method or the like 
org.springframework.jdbc.datasource.DataSourceUtils.getDataSourceFromJndi(String, boolean)
          in favor of managing a DataSource via dependency injection, i.e. using a JndiObjectFactoryBean for a JNDI DataSource and pass a bean reference to a setDataSource(DataSource) method or the like 
org.springframework.dao.IncorrectUpdateSemanticsDataAccessException.getDataWasUpdated()
          in favor of wasDataUpdated 
org.springframework.web.servlet.view.document.AbstractPdfView.getDocument()
          in favor of newDocument 
org.springframework.aop.framework.Advised.getExposeProxy()
          in favor of isExposeProxy 
org.springframework.aop.framework.ProxyConfig.getExposeProxy()
          in favor of isExposeProxy 
org.springframework.aop.target.PoolingConfig.getFree()
          in favor of getIdleCount 
org.springframework.aop.target.CommonsPoolTargetSource.getFree()
          in favor of getIdleCount 
org.springframework.aop.target.ThreadLocalTargetSourceStats.getHits()
          in favor of getHitCount 
org.springframework.aop.target.ThreadLocalTargetSource.getHits()
          in favor of getHitCount 
org.springframework.jdbc.core.JdbcTemplate.getIgnoreWarnings()
          in favor of isIgnoreWarnings 
org.springframework.aop.target.ThreadLocalTargetSourceStats.getInvocations()
          in favor of getInvocationCount 
org.springframework.aop.target.ThreadLocalTargetSource.getInvocations()
          in favor of getInvocationCount 
org.springframework.web.context.support.RequestHandledEvent.getIpAddress()
          in favor of getClientAddress 
org.springframework.util.StopWatch.getLastInterval()
          in favor of getLastTaskTimeMillis 
org.springframework.beans.factory.config.ConstructorArgumentValues.getNrOfArguments()
          in favor of getArgumentCount 
org.springframework.beans.support.PagedListHolder.getNrOfPages()
          in favor of getPageCount 
org.springframework.web.servlet.mvc.AbstractWizardFormController.getNrOfPages()
          in favor of getPageCount 
org.springframework.aop.target.ThreadLocalTargetSourceStats.getObjects()
          in favor of getObjectCount 
org.springframework.aop.target.ThreadLocalTargetSource.getObjects()
          in favor of getObjectCount 
org.springframework.aop.framework.ProxyConfig.getOpaque()
          in favor of isOpaque 
org.springframework.aop.framework.ProxyConfig.getOptimize()
          in favor of isOptimize 
org.springframework.aop.framework.Advised.getProxyTargetClass()
          in favor of isProxyTargetClass 
org.springframework.aop.framework.ProxyConfig.getProxyTargetClass()
          in favor of isProxyTargetClass 
org.springframework.util.StopWatch.TaskInfo.getTime()
          in favor of getTimeMillis 
org.springframework.web.context.support.RequestHandledEvent.getTimeMillis()
          in favor of getProcessingTimeMillis 
org.springframework.util.StopWatch.TaskInfo.getTimeSecs()
          in favor of getTimeSeconds 
org.springframework.util.StopWatch.getTotalTime()
          in favor of getTotalTimeMillis 
org.springframework.util.StopWatch.getTotalTimeSecs()
          in favor of getTotalTimeSeconds 
org.springframework.util.ResponseTimeMonitorImpl.getUptime()
          in favor of getUptimeMillis 
org.springframework.web.context.support.RequestHandledEvent.getURL()
          in favor of getRequestUrl 
org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator.getUsePrefix()
          in favor of isUsePrefix 
org.springframework.aop.framework.AdvisedSupport.indexOf(Interceptor)
          in favor of indexOf(Advice) 
org.springframework.aop.framework.AdvisedSupport.interceptorIncluded(Interceptor)
          in favor of adviceIncluded 
org.springframework.orm.ibatis.SqlMapClientOperations.queryForList(String, Object, RowHandler)
            
org.springframework.aop.framework.AdvisedSupport.removeInterceptor(Interceptor)
          in favor or removeAdvice 
 

Deprecated Constructors
org.springframework.beans.factory.xml.XmlBeanFactory(InputStream)
          Use XmlBeanFactory(Resource) instead, if necessary with an InputStreamResource parameter. 
 



Copyright (C) 2003-2004 The Spring Framework Project.