Example usage for org.springframework.beans.factory.config ConfigurableListableBeanFactory autowireBean

List of usage examples for org.springframework.beans.factory.config ConfigurableListableBeanFactory autowireBean

Introduction

In this page you can find the example usage for org.springframework.beans.factory.config ConfigurableListableBeanFactory autowireBean.

Prototype

void autowireBean(Object existingBean) throws BeansException;

Source Link

Document

Populate the given bean instance through applying after-instantiation callbacks and bean property post-processing (e.g.

Usage

From source file:com.rk.grid.cluster.slave.InjectionInterceptor.java

public void processInjection(Object bean) {
    if (context == null)
        return;/* w  w w .j a v a  2 s  .co m*/
    ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
    beanFactory.autowireBean(bean);
}