Hi,
I am currently building a tool that intercepts calls of a System Under Test (SUT) to other applications. Calls to other application will be on a request-response cycle where both request and responses are expressed in XML format.
The tool will be most useful when testing the SUT and the software development approach is parallel (both the SUT and other applications are built).
I am currently building this tool using Spring-AOP's schema based approach and the around advice.
Is there a way to enable cross-cutting automatically (like AspectJ does) without having the following lines in a web application?
WebApplicationContext context = //instantiation of WebApplication Context;
context.getBean("targetClassToBeIntercepted");
Thanks!


Reply With Quote