de.espirit.firstspirit.module
Interface WebApp

All Superinterfaces:
Component<WebAppDescriptor,WebEnvironment>
All Known Implementing Classes:
AbstractWebApp

public interface WebApp
extends Component<WebAppDescriptor,WebEnvironment>

FirstSpirit web application interface.

Since:
4.1

Method Summary
 void createWar()
          Event method: called just before a war file would be created.
 void init(WebAppDescriptor descriptor, WebEnvironment environment)
          Initializes this component with the given descriptor and environment.
 
Methods inherited from interface de.espirit.firstspirit.module.Component
installed, uninstalling, updated
 

Method Detail

createWar

void createWar()
Event method: called just before a war file would be created. Also just before the web.xml would be merged.

Since:
4.1

init

void init(WebAppDescriptor descriptor,
          WebEnvironment environment)
Initializes this component with the given descriptor and environment. No other method will be called before the component is initialized!

Attention: ServerEnvironment.getLogDir(), ServerEnvironment.getConfDir(), and ServerEnvironment.getDataDir() on the provided environment instance deliver null.

Specified by:
init in interface Component<WebAppDescriptor,WebEnvironment>
Parameters:
descriptor - Descriptor information for this component.
environment - Environment information for this component. ServerEnvironment.getLogDir(), ServerEnvironment.getConfDir(), and ServerEnvironment.getDataDir() on this instance deliver null.
Since:
4.1


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480