Package de.espirit.firstspirit.module
Class AbstractWebApp
java.lang.Object
de.espirit.firstspirit.module.AbstractWebApp
- All Implemented Interfaces:
Component<WebAppDescriptor,
,WebEnvironment> WebApp
FIRSTspirit web application interface.
- Since:
- 4.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Instructs the application to create a WAR file.void
init
(WebAppDescriptor descriptor, WebEnvironment env) Initialize the web app based on the given descriptor and enviroment.void
Lifecycle event: called, when the web application was installed.void
Lifecycle event: called, when the application is about to be uninstalled.void
Lifecycle event: called, when the application got updated.
-
Constructor Details
-
AbstractWebApp
public AbstractWebApp()
-
-
Method Details
-
init
Initialize the web app based on the given descriptor and enviroment.- Specified by:
init
in interfaceComponent<WebAppDescriptor,
WebEnvironment> - Specified by:
init
in interfaceWebApp
- Parameters:
descriptor
- The application descriptor.env
- The web environment definition.- Since:
- 4.1
-
installed
public void installed()Lifecycle event: called, when the web application was installed.- Specified by:
installed
in interfaceComponent<WebAppDescriptor,
WebEnvironment> - Since:
- 4.1
-
uninstalling
public void uninstalling()Lifecycle event: called, when the application is about to be uninstalled.- Specified by:
uninstalling
in interfaceComponent<WebAppDescriptor,
WebEnvironment> - Since:
- 4.1
-
updated
Lifecycle event: called, when the application got updated.- Specified by:
updated
in interfaceComponent<WebAppDescriptor,
WebEnvironment> - Parameters:
oldVersionString
- old version, before component was updated- Since:
- 4.1
-
createWar
public void createWar()Instructs the application to create a WAR file.
-