[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] questions about WeavingURLClassLoader
- From: Luca Ferrari <fluca1978@xxxxxxxxxxx>
- Date: Thu, 7 Feb 2008 19:57:54 +0100
- Delivered-to: email@example.com
- User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
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.