BBjJettyServerConfiguration

Description

In BBj 15.0 and higher this class is used to configure the integrated Jetty Server.

It provides an interface to maintain contexts through the BBjJettyContextConfiguration class.

Creation

BBjAPI > BBjAdmin > BBjJettyServerConfiguration

The BBjJettyServerConfiguration is created through the following BBjAdmin method:

Return Value

Method

BBjJettyServerConfiguration

getJettyServerConfig()

Methods of BBjJettyServerConfiguration

Return Value

Method

BBjJettyContextConfiguration

createCustomContext(string name)

BBjVector

getContextNames()

BBjJettyContextConfiguration

getCustomContext(string name)

BBjJettyContextConfiguration

getEmContextInfo()

BBjJettyContextConfiguration

getRootContextInfo()

void

removeCustomContext(string name)

void

saveConfig()

void

setAdminPassword(string password)

void

setAdminUser(string username)

Remarks

None.

Constants

Example

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

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

See Also

BBjJettyContextConfiguration