dao factory in context listener