Spring 3 : AOP Module query with AfterReturningAdvice interface implementation
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi , I am practicing Spring 3 Framework on AOP Module , need your help on this :
i have applied LogAroundAdvice to my Account class withdraw method .
Is the afterReturning Method of AfterReturningAdvice class will be get called after the return statement or before the Statement of Withdraw method of Account class ??
I guess its before the Return Statement only
Please advice , thanks .
i have applied LogAroundAdvice to my Account class withdraw method .
Is the afterReturning Method of AfterReturningAdvice class will be get called after the return statement or before the Statement of Withdraw method of Account class ??
I guess its before the Return Statement only
Please advice , thanks .
Save India From Corruption - Anna Hazare.
posted 14 years ago
The output i got
Hai Cash Not colected within 30 seconds will be taken back by the CPU
After Normal Return from Method
The value of a is 4
So its before the return statement of the Method only .
Thanks .
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
The output i got
Hai Cash Not colected within 30 seconds will be taken back by the CPU
After Normal Return from Method
The value of a is 4
So its before the return statement of the Method only .
Thanks .
Save India From Corruption - Anna Hazare.
| I think I'll just lie down here for a second. And ponder this tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |











