[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] questions about WeavingURLClassLoader

On Tuesday 5 February 2008 Andy Clement's cat, walking on the keyboard, wrote:
> Others have done this by just simulating what the XML loader is doing
> to define them.

I'm thinking of creating a new Definition class for my "dynamic" pointcuts, 
could it be a reasonable starting point?

What I have to do is the following: given a runtime object r of class R I need 
to apply to R an interface I (found at run-time too from object i) and to 
insert for each method of I a forwarding definition to that of i. Then I need 
to load and define a new instance of the modified r. This is why I'm studying 
the classloader instead of using aop.xml.

Suggestions?

Luca