Package org.gatein.wci
Class WebAppLifeCycleEvent
java.lang.Object
org.gatein.wci.WebAppEvent
org.gatein.wci.WebAppLifeCycleEvent
Web application life cycle event.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebAppLifeCycleEvent(WebApp webApp, int type) Creates a new web application life cycle event. -
Method Summary
Methods inherited from class org.gatein.wci.WebAppEvent
getWebApp
-
Field Details
-
REMOVED
public static final int REMOVEDApplication is removed.- See Also:
-
ADDED
public static final int ADDEDApplication is added.- See Also:
-
-
Constructor Details
-
WebAppLifeCycleEvent
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
-
-
Method Details
-
getType
public int getType()Returns the life cycle type.- Returns:
- the life cycle type
-