BBjApplication

Description

In BBj 12.00 and higher, the BBjApplication object represents a published BUI application and is immutable. Changes are made through the BBjAppConfig object.

Creation

BBjAPI > BBjAdmin > BBjAppServer > BBjAppConfig > BBjApplication

The BBjApplication object is created through the following BBjAppConfig method:

Return Value

Method

BBjApplication

buildApplication(string name)

Methods of BBjApplication

Return Value

Method

BBjResourceUrl

getApplicationIcon()

string

getApplicationUserName()

string

getBBjApplicationName()

string

getClasspathName()

int

getClientPollInterval()

string

getConfigFile()

boolean

getDevelopmentMode()

boolean

getDisallowConsole()

BBjBuiCloseAction

getEndAction()

BBjBuiCloseAction

getErrAction()

string

getInterpreterUser()

BBjResourceUrl

getLoadImage()

boolean

getManageBrowserHistory()

string

getName()

boolean

getOmitBasisCss()

BBjVector

getProgramArguments()

string

getProgramName()

boolean

getSecure()

int

getSessionTimeout()

boolean

getShowBrowserWarning()

boolean

getShowClientConfirmationDialog()

BBjResourceUrl

getStyleSheet()

string

getTerminal()

string

getWorkingDirectory()

boolean

isBuiEnabled()

boolean isDesktopEnabled()
boolean isDwcEnabled()

boolean

isQuiet()

BBjAppConfig

toAppConfig()

Constants

None.

Example

rem ' BBjApplication

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," ",app!.getProgramName()
    next i
endif

See Also

BBjAPI

BBjAdmin

BBjAppServer

BBjAppConfig

BBjCommandLineObject

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