I don't think you need to declare that, just set the transactional advice
or an interface implemented by all dao's which is proxied:Code:<aop:config> <aop:pointcut id="dataAccessOperation" expression="execution(* com.foo.infrastructure.SystemArchitecture.dataAccessOperation())"/> <aop:advisor advice-ref="txAdvice" pointcut-ref="dataAccessOperation"/> </aop:config>
Code:<aop:config> <aop:pointcut id="dataAccessOperation" expression="this(com.foo.service.MyServiceInterface))"/> <aop:advisor advice-ref="txAdvice" pointcut-ref="dataAccessOperation"/> </aop:config>


Reply With Quote