add spring factory bean