com.github.datalking.annotation.EnableAspectJAutoProxy Maven / Gradle / Ivy
package com.github.datalking.annotation;
import com.github.datalking.context.annotation.AspectJAutoProxyRegistrar;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 启用基于注解来创建aop
*
* @author yaoo on 4/16/18
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(AspectJAutoProxyRegistrar.class)
public @interface EnableAspectJAutoProxy {
// 使用CGLIB代理,默认false
boolean proxyTargetClass() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy