- All Implemented Interfaces:
- org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
public class ContextIdApplicationContextInitializer
extends Object
implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
ApplicationContextInitializer that sets the Spring
ApplicationContext ID. The
spring.application.name property is used to create the ID. If the property is
not set application is used.
- Author:
- Dave Syer, Andy Wilkinson