Interface Aspect

  • All Known Implementing Classes:
    AnalyticsAspect

    public interface Aspect
    Aspect. use cases - log - monitoring - transaction
    Author:
    pchretien
    • Method Detail

      • invoke

        Object invoke​(Object[] args,
                      AspectMethodInvocation methodInvocation)
        Invoke method with this current aspect. Apply aspect then call sub method
        Parameters:
        args - method arguments
        methodInvocation - method invocation object
        Returns:
        sub-method return
      • getAnnotationType

        Class<? extends Annotation> getAnnotationType()
        returns Annotation that tagged any method or class concerned by this aspect
        Returns:
        Annotation type.