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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInstructs the application to create a WAR file.voidinit(WebAppDescriptor descriptor, WebEnvironment env) Initialize the web app based on the given descriptor and enviroment.voidLifecycle event: called, when the web application was installed.voidLifecycle event: called, when the application is about to be uninstalled.voidLifecycle 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:
initin interfaceComponent<WebAppDescriptor,WebEnvironment> - Specified by:
initin 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:
installedin interfaceComponent<WebAppDescriptor,WebEnvironment> - Since:
- 4.1
-
uninstalling
public void uninstalling()Lifecycle event: called, when the application is about to be uninstalled.- Specified by:
uninstallingin interfaceComponent<WebAppDescriptor,WebEnvironment> - Since:
- 4.1
-
updated
Lifecycle event: called, when the application got updated.- Specified by:
updatedin 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.
-