BBjJettyContextConfiguration::setConfig


Description

In BBj 15.0 and higher, this method sets the full /path/to/config.bbx

Syntax

Return Value

Method

void

setConfig(string config)

Parameters

Variable

Description

config

the full /path/to/config.bbx

Return Value

None.

Remarks

This config file is used if no specific config file was set for the servlet.

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!.setConfig("/basis/cfg/config.min")

See Also

BBjAPI

BBjJettyContextConfiguration