|
Version 4.8.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StartupTasks
Perform startup tasks.
See BuildImpl for important information on how this item is configured.
BuildImpl.forStartupTasks()
returns the configured implementation of this interface.
Allows the application programmer to perform any needed initialization tasks.
These tasks are performed only once, upon startup. For example, the application may need to place items into application scope. Here is an example implementation taken from the WEB4J example application.
These startup tasks are called only after the data layer has successfully initialized.
See ConnectionSource.init(ServletConfig), for startup
tasks related to database connections.
| Method Summary | |
|---|---|
void |
startApplication(ServletConfig aConfig)
Perform any startup tasks needed by the application. |
| Method Detail |
|---|
void startApplication(ServletConfig aConfig)
throws AppException
Possible tasks include :
TimeZone
This method is called by WEB4J near the end of startup processing, after the data layer has been initialized. Thus, your implementation or this method can access the database in the normal way.
AppException
|
Version 4.8.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||