i 9 janvier 2009 17:26
> À : discuss@restlet.tigris.org
> Objet : *SPAM(1.8)* RE: Re: SpringBeanRouter issues
>
> 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 Resourc
> > However, I'm not sure however about injecting the SpringBeanFinder
> > because we need one instance per target resource bean...
>
> This could be achieved by injecting the bean name (instead of an
> instance) and then using the application context to retrieve instances
> as needed.
>
>
> Restlet ~ Founder and Lead developer ~ 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
oelios.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 more thing, if you want to intercept MyResource.represent(Variant), that
won
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 t
>>I haven't run into this because I tend to isolate any logic that needs
to be transactional in a single call in the service layer. However, I
can't think of a reason why it couldn't be made to work.
-
Normally I don't use transaction interceptor on resource/action too, but how
about secur
Hi,
On Jan 8, 2009, at 10:14 AM, postmas...@tigris.org wrote:
> Hi guys,
>
> Thanks for your hard work on Restlet with Spring integration, I am
> able to integrate them according to the wiki, however I found two
> issues
> I used SpringServerServlet to load the Application from spring
> con
Hi guys,
Thanks for your hard work on Restlet with Spring integration, I am able to
integrate them according to the wiki, however I found two issues
I used SpringServerServlet to load the Application from spring context
configuration file appcontext.xml, and the root router is an instance of
or
9 matches
Mail list logo