Class BcdUiApplicationContextListener

java.lang.Object
de.businesscode.bcdui.web.BcdUiApplicationContextListener
All Implemented Interfaces:
jakarta.servlet.ServletContextListener, EventListener

public class BcdUiApplicationContextListener extends Object implements jakarta.servlet.ServletContextListener
In web environments serves for initializing de.businesscode.bcdui.toolbox.Configuration With application context settings (from context and web.xml)
  • Constructor Details

    • BcdUiApplicationContextListener

      public BcdUiApplicationContextListener()
  • Method Details

    • getResourceBundleControl

      public static ResourceBundle.Control getResourceBundleControl()
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent context)
      Specified by:
      contextDestroyed in interface jakarta.servlet.ServletContextListener
    • contextInitialized

      public final void contextInitialized(jakarta.servlet.ServletContextEvent context)
      Bootstrap for BCD-UI in an web-environment. This method is final as the bootstrapping must keep certain order of initialization, therefore this class offers API to be implemented by extended subclasses:
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
      Parameters:
      context -
    • initBeforeBindings

      protected void initBeforeBindings(BareConfiguration bareConfiguraion) throws BindingException
      this method is called within contextInitialized(ServletContextEvent) after the BareConfiguration has been initialized but before Bindings are parsed.
      Parameters:
      bareConfiguraion -
      Throws:
      BindingException