【C015506】Spring配置文件中关于事务的部分配置如下:
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="get*" propagation="REQUIRED" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="serviceMethod"
expression="execution(* cn.jbit.service.*.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="serviceMethod"/>
</aop:config>
以下说法中正确的是( )。
A.<tx:advice>应为<aop: advice>
B.<aop:config>应为<tx:config>
C.txAdvice的配置中缺少sessionFactory属性的注入
D.execution(* cn.jbit.service.*.*(..)) 表示cn.jbit.service包下所有类的所有方法都应用事务规则