aop and inheritance

execution () method to match a parent class, then this method aop its subclasses are valid, even if the child class overrides the parent class to throw effective

execution () method to match a subclass, if this method is inherited from the parent class, and then only when the child class overrides the parent method, aop fishes this method is effective; otherwise invalid (even if not execution by wildcard but explicitly specify the subclass inherits a method is invalid)

Guess you like

Origin www.cnblogs.com/zhaolei1996/p/11279847.html
AOP