What is de purpose of CONTROLFLOWPOINTCUTS, for what purpose it is intended for, where and all it can be used?
What are the advantages of dynamic pointcuts??
Explain CONTROLFLOW POINTCUT with an example, where it is configured in XML file(decoupled fr开发者_JAVA百科om source)
This smells like homework, and I don't want to do that for you, but:
AspectJ / Spring AOP resources on the web are miserable.
Try if you can get a hard or digital copy of AspectJ in Action somewhere, it includes explanations of the cflow
and cflobelow
pointcuts.
Otherwise, here's a definition from the AspectJ Quick Reference:
cflow ( call(void Figure.move()) )
any join point in the control flow of each call to void Figure.move(). This includes the call itself.
cflowbelow ( call(void Figure.move()) )
any join point below the control flow of each call to void Figure.move(). This does not include the call.
精彩评论