Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How do you set up Spring AOP/AspectJ/Virgo
How do you set up Spring AOP/AspectJ/Virgo [message #556875] Thu, 02 September 2010 23:20 Go to next message
Rich Mayfield is currently offline Rich MayfieldFriend
Messages: 44
Registered: August 2010
Member
Is there a good tutorial/description of what one needs to do to set up AspectJ load time weaving alongside Spring AOP in Eclipse Virgo?

I see mention that this is feasible, but don't see anything documentation.

Thanks in advance
Re: How do you set up Spring AOP/AspectJ/Virgo [message #557876 is a reply to message #556875] Thu, 09 September 2010 10:15 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I'm afraid there isn't such a tutorial or description, but it should work. Wink

If you declare
<context:load-time-weaver aspectj-weaving="on"/>

in your application context, the kernel should automatically replace Spring's standard LoadTimeWeaver with a KernelLoadTimeWeaver implementation that's OSGi-aware.

Spring's AspectJ-based load time weaving support should then just work as expected.

Please could you try that and let us know if you hit a problem. If you are successful and fancy providing a little tutorial or description, or at least posting your findings here, that would be a nice contribution to the project.
Previous Topic:[Announce] Virgo Webinar on Aug. 31
Next Topic:How to start a bundle
Goto Forum:
  


Current Time: Sat Apr 20 02:31:23 GMT 2024

Powered by FUDForum. Page generated in 0.02813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top