|
From: Alef A. <al...@jt...> - 2003-12-10 21:42:26
|
Rod,
I saw the InvokerInterceptor has been removed about two weeks ago. We
used to use that to do method interceptions. I saw it was replaced by
the TargetSource. My colleague asked me what replaced it. Since I am
supposed to be the Spring expert here, but actually don't know anything
about the AOP stuff :), you give me a hint how to do the method
interceptions right now? We used to have something like this:
<bean id="WorkflowInterceptor"
class="icatch.workflow.interceptor.WorkflowInterceptor" //
extending InvokerInterceptor
init-method="init">
<!-- set the workflow manager to handle all method interceptions
-->
<property name="workflowManager">
<ref bean="WorkflowManager"/>
</property>
<!-- the definition of all methods that should be intercepted
-->
<property name="interceptedMethods">
<props>
<prop key="load"></prop>
<prop key="create"></prop>
<prop key="update"></prop>
<prop key="remove"></prop>
<prop key="findAll"></prop>
<prop key="findBy"></prop>
<prop key="isUnique"></prop>
<prop key="executeBusinessLogic"></prop>
</props>
</property>
</bean>
Thanx,
Alef
|