Class ContextOverrideInitializer

java.lang.Object
io.camunda.zeebe.qa.util.cluster.util.ContextOverrideInitializer
All Implemented Interfaces:
org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>

public final class ContextOverrideInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Context initializers are called before beans are resolved/autowired, and allows us to prepare the context, so to speak. That way, we can pre-register some beans so they will be autowired first, e.g. programmatic configuration.
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
      Specified by:
      initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>