@Configuration @EnableConfigurationProperties(value=ValidProperties.class) @ConditionalOnProperty(prefix="yishuifengxiao.aop", name="enable", havingValue="true", matchIfMissing=true) public class ValidAutoConfiguration extends Object
Constructor and Description |
---|
ValidAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
Object |
around(org.aspectj.lang.ProceedingJoinPoint joinPoint)
执行环绕通知
|
void |
checkConfig() |
void |
pointCut()
定义切入点
|
public void pointCut()
public Object around(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Throwable
joinPoint
- ProceedingJoinPointThrowable
- 处理时发生异常@PostConstruct public void checkConfig()
Copyright © 2021. All rights reserved.