package org.apache.maven.aspectwerkz;

import org.codehaus.aspectwerkz.attribdef.Pointcut;
import org.codehaus.aspectwerkz.attribdef.aspect.Aspect;
import org.codehaus.aspectwerkz.joinpoint.JoinPoint;

/**
 * @Aspect perJVM
 *
 * @author <a href="mailto:vmassol@apache.org">Vincent Massol</a>
 */
public class SampleNonProductionAspect extends Aspect
{
    /**
     * @Execution * *..Target.someMethod2(..)
     */
    Pointcut sampleNonProductionPointcut;
    
    /**
     * @Around sampleNonProductionPointcut
     */
    public Object sampleNonProductionAdvice(final JoinPoint joinPoint) 
        throws Throwable
    {
        System.out.println("sampleNonProductionPointcut");
        return joinPoint.proceed(); 
    }
}
