Finally deprecated BeanReferenceFactoryBean and CommonsLogFactoryBean

This commit is contained in:
Juergen Hoeller 2012-11-29 23:11:41 +01:00
parent d2207b2619
commit 786a20f9d0
2 changed files with 7 additions and 0 deletions

View File

@ -42,7 +42,10 @@ import org.springframework.beans.factory.SmartFactoryBean;
* @since 1.2
* @see #setTargetBeanName
* @see PropertyPlaceholderConfigurer
* @deprecated as of Spring 3.2, in favor of using regular bean name aliases
* (which support placeholder parsing since Spring 2.5)
*/
@Deprecated
public class BeanReferenceFactoryBean implements SmartFactoryBean, BeanFactoryAware {
private String targetBeanName;

View File

@ -33,7 +33,11 @@ import org.springframework.beans.factory.InitializingBean;
* @author Juergen Hoeller
* @since 16.11.2003
* @see org.apache.commons.logging.Log
* @deprecated as of Spring 3.2, in favor of a bean definition that points
* to the bean class "org.apache.commons.logging.LogFactory" and the factory
* method "getLog", passing in the log name as constructor argument
*/
@Deprecated
public class CommonsLogFactoryBean implements FactoryBean<Log>, InitializingBean {
private Log log;