<aop:pointcut id="servicePointcut" expression="execution(* com.me.xwe.reporting.transaction.TransactionReportGenerator.getReport(..))" />
<aop:aspect id="loggingAspect" ref="methodLogger">
<aop:before method="logMethodEntry" pointcut-ref="servicePointcut" />
returning="result" pointcut-ref="servicePointcut" />
Praful Thakare wrote:yeha i mean if your pointcut is specific to the class and not to package or wildcard level then that class should have the method,not very sure , but what i think is spring first makes list of all the defined aspects and the pointcuts and then before making object of every bean,it tries to resolve if any of the joinpoint (methods in spring) corrosponds to any of pointcut.
so if pointcut is specific to a class, in your case org.springsource.service.OrderServiceImpl.findOrder then before loading a bean of OrderServiceImpl, spring will try to find existance of findOrder method in static class file not object and it wont find it.
Just wild logical thinking might be completely worng..
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
SKIP - a book about connecting industrious people with elderly land ownershttps://coderanch.com/t/skip-book