withInitializer

Add an ApplicationContextInitializer to be called when the context is created.

Return

a new instance with the updated initializers

Parameters

initializer

the initializer to add