单项选择题

A、直接new一个IHibernateDao对象即可
B、无法实现
C、用sessionFactory.getbean方法
D、用ComponentFactory的getbean方法