Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » ClassLoader AspectJ
ClassLoader AspectJ [message #600788] Tue, 12 January 2010 18:20
Gustavo is currently offline GustavoFriend
Messages: 12
Registered: July 2009
Junior Member
Hi
Im new to AspectJ and its use in Equinox environments. The issue I'm
working on is this:

I have a 3 bundles: one with business objects, one with DAO objects and
one (lets call it facade) that uses classes from the first two bundles
and exposes them with some OSGI services so other bundles (like UI) can
use them. Finally I also have Spring JARS in another bundle.
Im using Spring IOC to create the DAO and business objects, and created
service delegates that, in theory, had some transaction defined in the
XML used by spring.
When Declarative Spring Transactions are used they call AspectJ to
create a proxy for the service delegate. The problem comes when it tries
to load the class for this service delegate since it can't find it due
to classloading restrictions.

I have tried to use aop.xml from this tutorial:
http://www.eclipse.org/aspectj/doc/next/devguide/ltw-configu ration.html

but its not working.
Is there any way to tell the AspectJ bundle that it should load class
definitions from my facade bundle?

I have done that with Spring BeanFactory and I thought that could
resolve the AspectJ issue, but it didnt :S.

Thanks!
Gustavo
Previous Topic:ClassLoader AspectJ
Next Topic:How to remove aspectj path?
Goto Forum:
  


Current Time: Sat Dec 20 19:40:51 GMT 2014

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

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