Finally deprecated BeanReferenceFactoryBean and CommonsLogFactoryBean

master
Juergen Hoeller 12 years ago
parent d2207b2619
commit 786a20f9d0
  1. 3
      spring-beans/src/main/java/org/springframework/beans/factory/config/BeanReferenceFactoryBean.java
  2. 4
      spring-beans/src/main/java/org/springframework/beans/factory/config/CommonsLogFactoryBean.java

@ -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;

@ -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;

Loading…
Cancel
Save