BBjAppServer::setEndAction

Description

In BBj 14.0 and higher, this method sets the action that will occur on normal application termination.

Syntax

Return Value

Method

void

setEndAction(BBjBuiCloseAction action)

Parameters

Variable

Description

action

A BBjBuiCloseAction object that defines the normal application termination action.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppServer::setEndAction

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
bui! = bbjapi().getWebManager()
action! = bui!.appAction("mainmenu")
appServer!.setEndAction(action!)
print "setEndAction: ",action!

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjAppServer::getEndAction

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.