【C015403】在Spring中进行声明式事务管理时,某个业务方法addUser(UserEntity user)需要对其进行事务控制,下列选项能正确配置其事务通知的选项是()。
A.<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes name="add*" propagation="REQUIRED"></ tx:attributes >
</tx:advice>
B.<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method name="add*" propagation="REQUIRED"></tx:method>
</tx:attributes>
</tx:advice>
C.<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:pointcut name="add*" propagation="REQUIRED"></tx:pointcut>
</tx:attributes>
</tx:advice>
D.<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:method name="add*" propagation="REQUIRED"></tx:method>
</tx:advice>