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

org.voovan.tools.aop.annotation.Around Maven / Gradle / Ivy

There is a newer version: 4.3.8
Show newest version
package org.voovan.tools.aop.annotation;

import java.lang.annotation.*;

/**
 * 切面点描述类
 *
 * @author: helyho
 * DBase Framework.
 * WebSite: https://github.com/helyho/DBase
 * Licence: Apache v2 License
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Around {
    /**
     * 切入点 java.lang.String org.voovan.test.service.web@IndexMethod(java.lang.String, java.lang.String)
     * @return 切入点
     */
    String value() default "* *(..)";

    /**
     * 是否开启对 lambda 方法的拦截
     * @return true:拦截, false: 不拦截
     */
    boolean lambda() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy