Package org.frankframework.lifecycle
Class FrankApplicationInitializer
java.lang.Object
org.frankframework.lifecycle.FrankApplicationInitializer
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@Order(2147483647)
public class FrankApplicationInitializer
extends Object
implements org.springframework.web.WebApplicationInitializer
Spring WebApplicationInitializer that should start after the
FrankEnvironmentInitializer
has been configured.
TODO: IbisContext should be directly wired under the EnvironmentContext.- Author:
- Niels Meijer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IbisContext
getIbisContext
(jakarta.servlet.ServletContext servletContext) Retrieves the IbisContext from the ServletContextvoid
onStartup
(jakarta.servlet.ServletContext servletContext)
-
Field Details
-
CONTEXT_KEY
- See Also:
-
-
Constructor Details
-
FrankApplicationInitializer
public FrankApplicationInitializer()
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) throws jakarta.servlet.ServletException - Specified by:
onStartup
in interfaceorg.springframework.web.WebApplicationInitializer
- Throws:
jakarta.servlet.ServletException
-
getIbisContext
Retrieves the IbisContext from the ServletContext- Parameters:
servletContext
-- Returns:
- IbisContext or IllegalStateException when not found
-