Search code examples
springspring-config

What is the purpose of context in <context : property-placeholder> tag?


What is the purpose of "context" in tag in Spring?

Why it's not just <property-placeholder>. What type of tag is this?


Solution

  • Spring divide parts using different schemes, this is part of the context schema:

    The context tags deal with ApplicationContext configuration that relates to plumbing - that is, not usually beans that are important to an end-user but rather beans that do a lot of grunt work in Spring, such as BeanfactoryPostProcessors