Spring Aop(九)——基於正則表達式的Pointcut

基於正則表達式的Pointcut JdkRegexpMethodPointcut Spring官方爲咱們提供了一個基於正則表達式來匹配方法名的Pointcut,JdkRegexpMethodPointcut。該Pointcut是繼承自StaticMethodMatcherPointcut的。咱們在定義JdkRegexpMethodPointcut時能夠經過patterns和excludedPatt
相關文章
相關標籤/搜索