code: public void setBeanClass(Class<?> beanClass) {
          this.beanClass = beanClass;
          this.className = beanClass.getName();
          this.factoryBean = FactoryBean.class.isAssignableFrom(beanClass);
          this.disposableBean = DisposableBean.class.isAssignableFrom(beanClass);
          this.initializableBean = InitializableBean.class.isAssignableFrom(beanClass);
          this.initializableTransletBean = InitializableTransletBean.class.isAssignableFrom(beanClass);
      }
docs: Sets the bean class.
  
  @param beanClass the new bean class