public interface WebApp extends Component<WebAppDescriptor,WebEnvironment>
Modifier and Type | Method and Description |
---|---|
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 . |
installed, uninstalling, updated
void createWar()
void init(WebAppDescriptor descriptor, WebEnvironment environment)
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>
descriptor
- Descriptor information for this component.environment
- Environment information for this component. ServerEnvironment.getLogDir()
,
ServerEnvironment.getConfDir()
, and ServerEnvironment.getDataDir()
on this instance deliver
null
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500