Spring AOP what is not jointpoint -
i need information spring aop jointpoint. have read below in stackoverflow explains difference between jointpoint , pointcut. per joint "a joinpoint candidate point in execution of application aspect can plugged in. point method being called, exception being thrown, or field being modified. these points aspect’s code can inserted normal flow of application add new behavior."
after reading me looks every method , field in class jointpoint. there couldn't jointput , hence advice couldn't applied.
as difference between 'jointpoint' , 'pointcut' you're right far. jointpoint every spot in code aspect might woven in, whereas pointcut matches concrete aspect definition.acoording spring documentation, every method of bean defined pointcut. consider using spring aop definition of pointcuts limited method calls. if you're searching supports more sophisticated aop logic, may take @ aspectj. aspectj you're able choose example instance beans pointcuts.
Comments
Post a Comment