ifeilong / feilong-spring

:gem:focus on spring
Apache License 2.0
4 stars 12 forks source link

AbstractHandlerMethodInterceptorAdapter 添加 四个boolean 属性, 来控制是否需要执行4个方法 #126

Closed venusdrogon closed 6 years ago

venusdrogon commented 6 years ago

AbstractHandlerMethodInterceptorAdapter 添加 四个boolean 属性, 来控制是否需要执行4个方法

venusdrogon commented 6 years ago

  <bean class="com.feilong.spring.web.servlet.interceptor.monitor.MonitorInterceptor">

                <!-- 是否需要执行 preHandle方法 since feilong spring 1.12.9 -->
                <property name="isNeedDoPreHandle" value="true" />
                <!-- 是否需要执行 postHandle方法. since feilong spring 1.12.9 -->
                <property name="isNeedDoPostHandle" value="true" />
                <!-- 是否需要执行 AfterCompletion 方法. since feilong spring 1.12.9 -->
                <property name="isNeedDoAfterCompletion" value="true" />
                <!-- 是否需要执行 AfterConcurrentHandlingStarted 方法. since feilong spring 1.12.9 -->
                <property name="isNeedDoAfterConcurrentHandlingStarted" value="true" />

...