Package org.apache.myfaces.webapp
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
Modifier and TypeMethodDescriptionvoid
postDestroy
(jakarta.servlet.ServletContext context) This method is called after MyFaces is destroyedvoid
postInit
(jakarta.servlet.ServletContext context) This method is called after MyFaces has initializedvoid
preDestroy
(jakarta.servlet.ServletContext context) This method is called before MyFaces is destroyedvoid
preInit
(jakarta.servlet.ServletContext context) This method is called before MyFaces initializes
-
Method Details
-
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
-