Skip to content

yanglifan/custom-annotation-aop-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

The project shows that how to enable the annotation style AOP function based on Spring Framework.

Details

  1. Define Spring NamespaceHandler to parse your own Spring XML configuration namespace.
  2. Register your own BeanDefinitionParser with your own namespace and combine your Advisor and MethodInterceptor.
  3. Define your own Advisor which define the AOP pointcut.
  4. Define your own MethodInterceptor to implement the real logic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages