public abstract class AbstractWebApp extends Object implements WebApp
Constructor and Description |
---|
AbstractWebApp() |
Modifier and Type | Method and Description |
---|---|
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
|
public void init(WebAppDescriptor descriptor, WebEnvironment env)
WebApp
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
.
init
in interface Component<WebAppDescriptor,WebEnvironment>
init
in interface WebApp
descriptor
- Descriptor information for this component.env
- Environment information for this component. ServerEnvironment.getLogDir()
,
ServerEnvironment.getConfDir()
, and ServerEnvironment.getDataDir()
on this instance deliver
null
.public void installed()
Component
installed
in interface Component<WebAppDescriptor,WebEnvironment>
public void uninstalling()
Component
uninstalling
in interface Component<WebAppDescriptor,WebEnvironment>
public void updated(String oldVersionString)
Component
updated
in interface Component<WebAppDescriptor,WebEnvironment>
oldVersionString
- old version, before component was updatedCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500