Class ValidatorAspect
java.lang.Object
org.imageconverter.util.validation.ValidatorAspect
Aspect to use beans validation on application.
- Author:
- Fernando Romulo da Silva
-
Method Summary
Modifier and TypeMethodDescriptionafterReturning
(org.aspectj.lang.ProceedingJoinPoint point) Execute the around with valition contraints for methods.pointcutMethodArgument
(org.aspectj.lang.ProceedingJoinPoint point) Execute the around with valition contraints for attributes.
-
Method Details
-
afterReturning
Execute the around with valition contraints for methods.- Parameters:
point
- The object that support around advice in @AJ aspects- Returns:
- The metho's return
- Throws:
Throwable
- If something wrong happens
-
pointcutMethodArgument
Execute the around with valition contraints for attributes.- Parameters:
point
- The object that support around advice in @AJ aspects- Returns:
- The metho's return
- Throws:
Throwable
- If something wrong happens
-