The project shows that how to enable the annotation style AOP function based on Spring Framework.
- Define Spring
NamespaceHandler
to parse your own Spring XML configuration namespace. - Register your own
BeanDefinitionParser
with your own namespace and combine yourAdvisor
andMethodInterceptor
. - Define your own
Advisor
which define the AOP pointcut. - Define your own
MethodInterceptor
to implement the real logic.