--- Shih Lee <[EMAIL PROTECTED]> wrote:
> [Spring AOP/S2]
Just out of curiosity, does it work if instead of
proxying the interface you proxy the class instead,
like so:
<bean id="helloWorld"
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyTargetClass">
<value>true</value>
</property>
<property name="interceptorNames">
<list>
<value>timeLoggingAdvisor</value>
</list>
</property>
<property name="target">
<ref local="helloWorldTarget"/>
</property>
</bean>
<bean id="helloWorldTarget"
class="example.HelloWorld"/>
I haven't tried AOPing an Action interface yet, but I
can successfully wrap up if I'm doing the class proxy.
YMMV, and I believe my test was not under Spring 2
(have not upgraded that app yet).
Dave
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]