Remember a strange debug

idea debug time line will open a thread of toString, so we generally do not do what the toString.

Currently enrolled in spring parses the source custom labels.

Parsing createDefaultNamespaceHandlerResolver in XmlBeanDefinitionReader object () method is necessary to generate DefaultNamespaceHandlerResolver object constructor uses a new DefaultNamespaceHandlerResolver (getResourceLoader () getClassLoader ( ).); DefaultNamespaceHandlerResolver This configuration method simply sets the initial property values META- handlerMappingsLocation INF / spring.handlers, and set the value of the property classLoader, but does not operate on the property private volatile Map handlerMappings, but the property handlerMappings DefaultNamespaceHandlerResolver object construction finished there is value, is the spring.handlers the contents to key- value in the form of preservation.
So the question is, handlerMappings property is at what time assignment?




    


The answer link Click to open the link

Published 55 original articles · won praise 31 · views 80000 +

Guess you like

Origin blog.csdn.net/zengfanwei1990/article/details/80871251