更新-使用LTW(LoadTimeWeaving)技术实现AOP功能
This commit is contained in:
parent
7824d19c0f
commit
ffc27cd535
@ -101,7 +101,7 @@
|
||||
|
||||
放在`META-INF/aop.xml`
|
||||
|
||||
```
|
||||
```xml
|
||||
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "https://www.eclipse.org/aspectj/dtd/aspectj.dtd">
|
||||
<aspectj>
|
||||
<weaver>
|
||||
@ -147,7 +147,7 @@
|
||||
|
||||
##### pom配置
|
||||
|
||||
```
|
||||
```xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
@ -215,7 +215,7 @@
|
||||
|
||||
##### oop配置
|
||||
|
||||
```
|
||||
```xml
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<aspectj>
|
||||
<weaver options="-XnoInline -Xset:weaveJavaxPackages=true -Xlint:ignore -verbose -XmessageHandlerClass:org.springframework.aop.aspectj.AspectJWeaverMessageHandler">
|
||||
|
Loading…
x
Reference in New Issue
Block a user