applicationContext

change factory to applicationContext