All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mypackage.aspects.MyAspect Maven / Gradle / Ivy

Go to download

Weave HelloWorld class with the automon aspect. This is an example of compile time weaving.

There is a newer version: 2.0.0
Show newest version
package com.mypackage.aspects;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.automon.aspects.SpringBase;

/**

  
     
        
        
        
     
  

*/

@Aspect
public class MyAspect extends SpringBase {

  @Pointcut("profile()")
  public void user_monitor() {
  }

  @Pointcut("profile()")
  public void user_exceptions() {
  }

  @Pointcut("execution(public * com.stevesouza.helloworld.HelloWorld.*(..))")
  public void profile() {
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy