Class WebAppLifeCycleEvent


  • public class WebAppLifeCycleEvent
    extends WebAppEvent
    Web application life cycle event.
    Version:
    $Revision: 1.1 $
    Author:
    Julien Viet
    • Constructor Detail

      • WebAppLifeCycleEvent

        public WebAppLifeCycleEvent​(WebApp webApp,
                                    int type)
                             throws IllegalArgumentException
        Creates a new web application life cycle event.
        Parameters:
        webApp - the web application
        type - the life cycle type
        Throws:
        IllegalArgumentException - if the web application is null or the type value is not valid
    • Method Detail

      • getType

        public int getType()
        Returns the life cycle type.
        Returns:
        the life cycle type