Interceptor中excludeMethods和includeMethods理解
针对MethodFilterInterceptor:excludeMethods表示排除指定的方法,即不对标记为excludeMethods的方法进行拦截,includeMethods表示包含指定的方法,即对标记为includeMethods的方法进行拦截,
<interceptors>
<interceptor name="intercept" class="cn.ycm.intercept.CustomIntercept"/>
<interceptor-stack name="myStack">
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="intercept">
<param name="excludeMethods">doLogin,validate… …</param>
</interceptor-ref>
</interceptor-stack>
</interceptors>