Hello - I'm trying to use a spring aop aspect with a servlet.
I have the following spring configuration:
<aop:pointcut id="monitorScope" expression="(execution(* com.probuild.intranet.web.servlet..doGet(..)))" />
<aop:aspect id="myMonitoringAspect" ref="monitoringAspect">
<aop:around method="monitor" pointcut-ref="monitorScope" />
<bean id="monitoringAspect" class="com.probuild.aspects.AroundAspect" />
and the following web configuration:
When deployed, the monitoringAspect does not get executed when the doGet method is called. I've tried a variety of configurations but as of yet have not been able to find the sweet spot. Does anyone see anything obviously wrong with this config? Or better still, does anyone have any suggestions that I might try?
Thanks in advance for your help.