@Component
@Order(value=4)
@ConditionalOnProperty(prefix="cc-spring.web",
name="enable-default-aspect",
havingValue="true",
matchIfMissing=true)
public class ControllerAspect
extends Object
| Constructor and Description |
|---|
ControllerAspect() |
| Modifier and Type | Method and Description |
|---|---|
Object |
around(org.aspectj.lang.ProceedingJoinPoint pjp,
WebAnnotation webAnnotation) |
static void |
setNull(Object obj,
Class<?>[] clazz)
将对象obj中有 SetNull 注解的字段根据分组class设置空值
字段上的 SetNull 注解没有value参数时,该字段设置为空 字段上的 SetNull 注解有value参数时,参数包含了分组class中的任意一个class,该字段设置为空 |
public Object around(org.aspectj.lang.ProceedingJoinPoint pjp, WebAnnotation webAnnotation) throws Throwable
ThrowableCopyright © 2021. All rights reserved.