~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : Daniel Woo [mailto:daniely...@hotmail.com]
Envoyé : vendredi 9 janvier 2009 17:26
À : discuss@restlet.tigris.org
Objet : *SPAM(1.8)* RE: Re: SpringBeanRouter issues
one
one more thing, if you want to intercept MyResource.represent(Variant), that
won't work with Spring AOP (jdk proxy or cglib). Because this method is called
by Resource.handleGet()
You have to intercept Resource.handleGet()/Put()/Post()/Delete(), or use static
waver like aspectJ.
I think you
I think you can make SpringBeanRouter implement ApplicationContextAware. I made
it this way, the AOP interceptor successfully executed.
I changed very little to your SpringBeanRouter and SpringBeanFinder:
SpringBeanRouter: make it ApplicationContextAware, and holds an
ApplicationContext. Each
3 matches
Mail list logo