I have created a custom interceptor and added the mapping in *spring.xml file as below,
1. Created the bean id for the customInterceptor class
<bean id="myValidateInterceptor" class ="*.MyValidateInterceptor">
2.Then we will register the above customInterceptor class as a property into InterceptorMapping class as below
<property name="interceptor" ref="myValidateInterceptor"/>
<property name="typeCode" value="MyType"/>
My question is how the "InterceptorMapping" works internally and which spring concept behind this kind of approach?