Show TOC

init(SmappStateProcessingAction) methodLocate this document in the navigation structure

Allow the subclass to perform all the necessary initialization including constructing the menu list.

Syntax
Syntax
protected abstract SmappState init (SmappStateProcessingAction action) throws DBException
Parameters
  • action Processing action object, is used as a mechanism to communicate to the processing engine the desired processing action
Returns
follow-up transition, if necessary. In the normal circumstances, null will be returned. Otherwise, the processing will be interrupted by this follow-up transition.
Exceptions
  • DBException Exception when accessing or saving the session variable from database
Remarks

Typically initialization includes: getting the menu list from the datasource, such as web service.