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

org.aspectj.aspect.AbstractAroundAspect Maven / Gradle / Ivy

Go to download

Scripting extension for AspectJ agent. Allow java bytecode instrumentation at jvm startup by using MVEL expression and execute code from maven artifacts

The newest version!
package org.aspectj.aspect;

import org.aspectj.aspect.lifecycle.BaseAspectLifecycle;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

/**
 *
 */
@Aspect
public abstract class AbstractAroundAspect extends BaseAspectLifecycle {

    @Pointcut
    abstract void pointcutExpression();

    @Around("pointcutExpression()")
    public Object around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
        return processAround(proceedingJoinPoint);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy