Monday, August 24, 2015

aspect in spring


Aspect is modulerization of a concern that cuts accross multiple classes . Take an example of exception handling ,consider exception handling as an Aspect . In a program if an exception occurs it is an example join point as per spring nomenclature . At a join point action taken by Aspect is called an Advice , so if an ExceptionHandlingAspect calls logException(Exception e) ,logException is an example of advice . All advices has a pointcut expression , if for a join point , point cut expression is true , then the advice is executed at the join point .

No comments:

Post a Comment

ec2-user@ec2 Permission denied