org.springframework.context
Interface ApplicationContextInitializer<C extends ConfigurableApplicationContext>


public interface ApplicationContextInitializer<C extends ConfigurableApplicationContext>

Callback interface for initializing a Spring ConfigurableApplicationContext prior to being refreshed.

ApplicationContextInitializer processors are encouraged to detect whether Spring's Ordered or PriorityOrdered interfaces are also implemented and sort instances accordingly if so prior to invocation.

Since:
3.1
Author:
Chris Beams
See Also:
ContextLoader.customizeContext(javax.servlet.ServletContext, org.springframework.web.context.ConfigurableWebApplicationContext)

Method Summary
 void initialize(C applicationContext)
          Initialize the given application context.
 

Method Detail

initialize

void initialize(C applicationContext)
Initialize the given application context.

Parameters:
applicationContext - the application to configure