Hi,
I wanted to use Spring AOP (3.0.5) with wicket (1.4.16). However, I got
java.io.NotSerializableException:
org.springframework.aop.aspectj.annotation.InstantiationModelAwarePointcutAdvisorImpl

My spring file contains the lines,

     <aop:aspectj-autoproxy />

    <bean id="flowAppLogger" class="flow.aspect.LogAspect">
        <property name="logService" ref="flowLog"/>
    </bean>

    <bean id="flowLog" class="flow.aspect.FlowLog" />

My flowAppLogger works, it wrote to file. Yet, I got exceptions because
of Serialization.
I know and use @SpringBean for other beans. But, how  can I use @SpringBean
annotation for aspect oriented programming in wicket?
Or use AOP in another way?

thanks

Reply via email to