de.espirit.firstspirit.module
Class AbstractWebApp

java.lang.Object
  extended by de.espirit.firstspirit.module.AbstractWebApp
All Implemented Interfaces:
Component<WebAppDescriptor,WebEnvironment>, WebApp

public abstract class AbstractWebApp
extends Object
implements WebApp

FIRSTspirit web application interface.

Since:
4.1

Constructor Summary
AbstractWebApp()
           
 
Method Summary
 void createWar()
          Event method: called just before a war file would be created.
 void init(WebAppDescriptor descriptor, WebEnvironment env)
          Initializes this component with the given descriptor and environment.
 void installed()
          Event method: called if Component was successfully installed (not updated!)
 void uninstalling()
          Event method: called if Component was in uninstalling procedure
 void updated(String oldVersionString)
          Event method: called if Component was completely updated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWebApp

public AbstractWebApp()
Method Detail

init

public void init(WebAppDescriptor descriptor,
                 WebEnvironment env)
Description copied from interface: Component
Initializes this component with the given descriptor and environment. No other method will be called before the component is initialized!

Specified by:
init in interface Component<WebAppDescriptor,WebEnvironment>
Specified by:
init in interface WebApp
Parameters:
descriptor - useful descriptor information for this component.
env - useful environment information for this component.
Since:
4.1

installed

public void installed()
Description copied from interface: Component
Event method: called if Component was successfully installed (not updated!)

Specified by:
installed in interface Component<WebAppDescriptor,WebEnvironment>
Since:
4.1

uninstalling

public void uninstalling()
Description copied from interface: Component
Event method: called if Component was in uninstalling procedure

Specified by:
uninstalling in interface Component<WebAppDescriptor,WebEnvironment>
Since:
4.1

updated

public void updated(String oldVersionString)
Description copied from interface: Component
Event method: called if Component was completely updated

Specified by:
updated in interface Component<WebAppDescriptor,WebEnvironment>
Parameters:
oldVersionString - old version, before component was updated
Since:
4.1

createWar

public void createWar()
Description copied from interface: WebApp
Event method: called just before a war file would be created. Also just before the web.xml would be merged.

Specified by:
createWar in interface WebApp
Since:
4.1


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