aspose file tools
The moose likes Spring and the fly likes Autoproxying @AspectJ aspects Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Autoproxying @AspectJ aspects" Watch "Autoproxying @AspectJ aspects" New topic
Author

Autoproxying @AspectJ aspects

Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 65
Hello everybody,
I am trying to execute the program given in section 4.3.2 in Spring in action 2nd edition. So I defined following files.

Audience.java
---------------------


applicationContext.xml
------------------------------------

TestMain.java
-----------------------

Instrument.java
-------------------------

Instrumentalist.java
--------------------------------

PerformanceException.java
--------------------------------------


Performer.java
-----------------


Saxophone.java
--------------------


I am getting the following exception

Can any body tell where I am doing wrong!!! I have posted this in another forum also(http://www.manning-sandbox.com/thread.jspa?threadID=38827&tstart=0)

Thanks
Vivek
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

@AfterThrowing("perfomance()") -> @AfterThrowing("performance()")


[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 65
Thank you so much. I did the above mentioned change. Now it works.
Christophe Verré
Marshal

Joined: Nov 24, 2005
Posts: 14361

Don't forget to write that at Manning's forum !
Syed Iqbal
Greenhorn

Joined: Mar 19, 2011
Posts: 5
I had a similar problem. Thank you.
 
 
subject: Autoproxying @AspectJ aspects
 
Threads others viewed
Problem with Spring AOP
AOP not getting invoked on my Target Bean Method --> Singer.perform() method
AOP logging throws exception
Not able to test AOP using AspectJ
Advice PointCut methods not being called?
MyEclipse, The Clear Choice