Package org.gatein.wci
Class WebAppLifeCycleEvent
- java.lang.Object
-
- org.gatein.wci.WebAppEvent
-
- org.gatein.wci.WebAppLifeCycleEvent
-
public class WebAppLifeCycleEvent extends WebAppEvent
Web application life cycle event.- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description WebAppLifeCycleEvent(WebApp webApp, int type)Creates a new web application life cycle event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType()Returns the life cycle type.-
Methods inherited from class org.gatein.wci.WebAppEvent
getWebApp
-
-
-
-
Field Detail
-
REMOVED
public static final int REMOVED
Application is removed.- See Also:
- Constant Field Values
-
ADDED
public static final int ADDED
Application is added.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebAppLifeCycleEvent
public WebAppLifeCycleEvent(WebApp webApp, int type) throws IllegalArgumentException
Creates a new web application life cycle event.- Parameters:
webApp- the web applicationtype- the life cycle type- Throws:
IllegalArgumentException- if the web application is null or the type value is not valid
-
-