Quick question :

Can I use Aspectj with Java 1.4 using the standard Spring distribution ?

Background : if possible I would like to advise a non-spring method. If a specific third party class logs an error (log.ERROR()), then I want my unit test to fail. The plan is to intercept the log.ERROR() and throw an exception. The project is constrained to Java 1.4.

No idea if there is a better way.

Thanks

Martin