AspectJ aspect not called for loaded classes
<p>In a RCP osgi based application, i want to load classes from disc at runtime. This loading is independent from OSGI infrastructure.<br>
I have a custom classloader, which can do this and works in general (without the AspectJ).</p>

<p>Now these loaded classes shall have aspects applied.</p>

<p>But the aspect code is not called.</p>

<ol>
<li>I have the .class files build with Ant iajc compiler. Do I need load-time weaving?</li>
<li>When load-time weaving is needed, is it sufficient to add the dependency "org.aspectj.weaver" and make the classloader extend WeavingURLClassLoader?</li>
<li>If it is WeavingURLClassLoader, can i use this URL to point to an aspect, located in another plugin? "platform:/plugin/myplugin/my_package/Aspect.aj". Or without the .aj extension?</li>
<li>How can debug this?</li>
</ol>

<p>Frank</p>

<p>. </p>