Hi,
I'm using dynamic proxies for AOP with Spring 2.0.1 and have found that if I create the context as follows, weaving does not occur and no errors are produced.
When created as follows however, weaving does occur:Code:final GenericApplicationContext context = new GenericApplicationContext(); final XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader( context); xmlReader.loadBeanDefinitions(new ClassPathResource( "applicationContext.xml"));
Here is a sample Eclipse project with my simple example.Code:BeanFactory context = new ClassPathXmlApplicationContext("applicationContext.xml");
http://hermesjms.com/people/colin/te...ngAOPIssue.zip
Is this a bug or am I missing something?
Regards,
Colin.
http://hermesjms.com


Reply With Quote