Class ValidatorAspect

java.lang.Object
org.imageconverter.util.validation.ValidatorAspect

@Component public class ValidatorAspect extends Object
Aspect to use beans validation on application.
Author:
Fernando Romulo da Silva
  • Method Details

    • afterReturning

      public Object afterReturning(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
      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

      public Object pointcutMethodArgument(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
      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