Class TraceAspect

java.lang.Object
io.vertigo.core.impl.analytics.trace.TraceAspect
All Implemented Interfaces:
Aspect

public final class TraceAspect extends Object implements Aspect
* Intercepteur de performance des composant.
Author:
jmforhan
  • Constructor Details

    • TraceAspect

      @Inject public TraceAspect(AnalyticsManager analyticsManager)
      Constructor.
      Parameters:
      analyticsManager - the component responsible of managing analytics
  • Method Details

    • getAnnotationType

      public Class<Trace> getAnnotationType()
      returns Annotation that tagged any method or class concerned by this aspect
      Specified by:
      getAnnotationType in interface Aspect
      Returns:
      Annotation type.
    • invoke

      public Object invoke(Object[] args, AspectMethodInvocation invocation)
      Invoke method with this current aspect. Apply aspect then call sub method
      Specified by:
      invoke in interface Aspect
      Parameters:
      args - method arguments
      invocation - method invocation object
      Returns:
      sub-method return