Class LoggableAspect

java.lang.Object
org.imageconverter.util.logging.LoggableAspect

@Component public class LoggableAspect extends Object
The Aspect to log the method enters and method exists.
Author:
Fernando Romulo da Silva
  • Constructor Details

    • LoggableAspect

      public LoggableAspect()
  • Method Details

    • annotatedMethod

      public void annotatedMethod()
      The pointcut to annotated class.
    • annotatedClass

      public void annotatedClass()
      The pointcut to annotated method.
    • log

      public Object log(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
      Execute the wrap method.
      Parameters:
      point - The object that support around advice in @AJ aspects
      Returns:
      The methot's return
      Throws:
      Throwable - If something wrong happens