Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Runtime weaving without agent

Hi,

I'm maintaining a project that is still using unmaintained
aspectwerkz project. It's now time to move on ;)

In this project, we are using a custom classloader "per thread"
which "weave" class on the fly when class is loaded
(Classloader#findClass(String)). [1]

Since aspectj and aspectwerkz join forces in 2005, i'm trying
to do the same thing with aspectj.
But, i can find only documentation using agent [2], which is not
possible in our use case.

Is it still possible to do it with only runtime programmatic way ?

Regards.


[1]
http://forge.codelutin.com/projects/isis-fish/repository/revisions/3798/entry/trunk/src/main/java/fr/ifremer/isisfish/aspect/AspectClassLoader.java
[2] http://www.eclipse.org/aspectj/doc/next/devguide/ltw.html

-- 
Éric Chatellier - Code Lutin
Tel: 02.40.50.29.28 - http://www.codelutin.com



Back to the top