Tuesday, June 24, 2014

Execution flow when prehandle and post handle is integrated in spring aop with aspectj

no exception case :
prehandle is called
Before method  is called examination of method parameter is done
before is called
Before method  is called examination of method name for target object is done
service method called
afterReturning is called
before post hande after actual service method is called
Inside post handle
Inside after completion

for exception thrown case after throwing exception is goes to after completion


prehandle is called
Before method  is called examination of method parameter is done
before is called
Before method  is called examination of method name for target object is done
service method called
afterReturning is called
Before method  is called examination of method parameter is done
before is called
Before method  is called examination of method name for target object is done
service method called
afterThrowing exception is called
Inside after completion

No comments:

Post a Comment