This content has been marked as final.
Show 2 replies
-
1. Re: aop.xml to pass parameters to interceptor
kabirkhan Nov 19, 2009 8:59 AM (in response to nizzy)<?xml version="1.0" encoding="UTF-8"?> <aop> <interceptor class="GenericInterceptor" name="A"> <attribute name="mockObjectName">MockEmailer</attribute> </interceptor> <interceptor class="GenericInterceptor" name="B"> <attribute name="mockObjectName">mock-jpa-helper</attribute> </interceptor> <bind pointcut="execution(public CardEmailUtil->new())"> <interceptor-ref name="A"/> </bind> <bind pointcut="execution(public CardJPAHelper->new(..))"> <interceptor-ref name="B"/> </bind> </aop>
-
2. Re: aop.xml to pass parameters to interceptor
nizzy Nov 19, 2009 9:04 AM (in response to nizzy)Was just reading the reference manual and the schema, realised should prbably be done that way.
Should have done that first!!
Thanks for the reply.