Class FailedStartupContainerRegistrar

java.lang.Object
com.atlassian.jira.component.pico.registrar.FailedStartupContainerRegistrar
All Implemented Interfaces:
ContainerExtender

@ParametersAreNonnullByDefault public class FailedStartupContainerRegistrar extends Object implements ContainerExtender
If JIRA fails its Startup checks, then we use this to add just a few more components to the Pico Container.

For example, if the database build number is higher than the application code build number, we fail startup.

SetupContainerRegistrar does a similar trick of adding components to exising bootstrap container. But SetupContainerRegistrar requirements would clash with the requirements below, so we need to ensure we only extend Bootstrap with one or the other.

JRA-43308: We need to add just enough components such that the Servlet Filters can work without throwing an NPE, and we need a minimal ability of localisation for the errors.jsp page.

See Also: