BBjJettyContextConfiguration::setStatus


Description

In BBj 17.0 and higher, this method sets the status of the BBjJettyContext

Syntax

Return Value

Method

void

setStatus(string status)

Parameters

Variable

Description

status

the status

Return Value

None.

Remarks

accepted values are 'enabled' and 'disabled'

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!

api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
root! = config!.getRootContextInfo()

root!.setStatus("enabled")

condig!.saveConfig()

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJettyContextConfiguration::enable()

BBjJettyContextConfiguration::disable()