AOP Framework comes soon!
AOP Framework now is pre-alpha.
It can be used in AS3.0 & MXML. It can write Context like Spring.
Package:
- advancedflex.aop.advice.*
- advancedflex.aop.advisor.*
- advancedflex.aop.context.*
- advancedflex.aop.proxy.*
- advancedflex.aop.pointcut.*
It contains 5 kind of Advice.
- Around - Run around Pointcut.
- Before - Run before join Pointcut.
- After - Run after joined Pointcut if there is no error.
- Throwing - Run after joined Pointcut if there is any error.
- Introduction - Run after joined Pointcut. It like the finally Block.
- SimpleAdvisor - It is very fast, but can only add one advice a Type.
- MulitAdvisor - It is slower than SimpleAdvisor, but can add many advice a Type.(Except Around Advice)
- SimplePointcut
- RegExpPointcut
- DynamicPointcut
No comments:
Post a Comment