Stage 3 2.Spring_08. Oriented Programming AOP_7 universal expression pointcut


The following configuration of a common expression ,, top four will not need to configure the entry point for so long Solomon expressions.

Save every time to write a long period of expression of the process

write in a aop: aspect of this section below current section can only be used

to write in section which run the test


moved to cut out. The error

because the error section label. If you run the test method will error. But the error is not obvious tips

because you have to guide a constraint configuration in accordance with the constraint

constraint which requires that the label must appear before the aspect

run the test again. Successful implementation



 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11355509.html