Interface StartupListener


  • public interface StartupListener
    Startup Listener for the myfaces init process This interface allows to implement Plugins which then can be hooked into the various stages of our initialisation process to add various plugins which depend on the various phases of the init
    Author:
    Werner Punz
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void postDestroy​(jakarta.servlet.ServletContext context)
      This method is called after MyFaces is destroyed
      void postInit​(jakarta.servlet.ServletContext context)
      This method is called after MyFaces has initialized
      void preDestroy​(jakarta.servlet.ServletContext context)
      This method is called before MyFaces is destroyed
      void preInit​(jakarta.servlet.ServletContext context)
      This method is called before MyFaces initializes
    • Method Detail

      • preInit

        void preInit​(jakarta.servlet.ServletContext context)
        This method is called before MyFaces initializes
        Parameters:
        context - the ServletContext
      • postInit

        void postInit​(jakarta.servlet.ServletContext context)
        This method is called after MyFaces has initialized
        Parameters:
        context - the ServletContext
      • preDestroy

        void preDestroy​(jakarta.servlet.ServletContext context)
        This method is called before MyFaces is destroyed
        Parameters:
        context - the ServletContext
      • postDestroy

        void postDestroy​(jakarta.servlet.ServletContext context)
        This method is called after MyFaces is destroyed
        Parameters:
        context - the ServletContext