Spring AOP

Maven 依赖

    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>1.8.5</version>
    </dependency>
    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjweaver</artifactId>
        <version>1.8.5</version>
    </dependency>

  • AspectJ @Before
  • AspectJ @After
  • AspectJ @AfterReturning
  • AspectJ @Around

标签: none

添加新评论