BeanFactory blfactory = new BeanLocatorBeanFactory(rsacbl.getBeanLocator()); pfb.setBeanFactory(blfactory);
pfb.setBeanFactory(beanFactory);
  private void createProxy() {    ProxyFactoryBean pfb = new ProxyFactoryBean();    Class beanclass = getTargetClass();    if (beanclass.isInterface()) {      pfb.setInterfaces(new Class[] {beanclass});    }    pfb.setTargetSource(this);    BeanFactory blfactory = new BeanLocatorBeanFactory(rsacbl.getBeanLocator());    pfb.setBeanFactory(blfactory);    proxy = pfb.getObject();  }