jQuery in Action, 2nd edition*
The moose likes Other Application Frameworks and the fly likes Simple AOP not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Simple AOP not working" Watch "Simple AOP not working" New topic

Simple AOP not working

Cory Max
Ranch Hand

Joined: Jul 20, 2005
Posts: 83
I am trying to get a simple aop app to work but it seems as if spring is ignoring the aop part of my spring-config file.

Here is what I have:
1) A simple interface and implementing class
2) An pojo aspect class
3) A class to test it
4) My spring config.xml

I get output:

Testing 123
java.lang.Exception: Thrown exception at com.macdon.aop.logging.test.ServiceImpl.doException(ServiceImpl.java:17)
at com.macdon.aop.logging.test.TestLogger.main(TestLogger.java:19)

But no aop behavior.

Can someone please help?

There are only 10 types of people in this world... Those who understand binary and those who don't.
I agree. Here's the link: http://aspose.com/file-tools
subject: Simple AOP not working
Similar Threads
Spring AOP program not running as expected
Hello world spring aop
Spring AOP question
Spring MVC AOP Logger
Spring 2.5 and AOP - BeanPostProcessor before instantiation of bean failed