BBjJettyContextController

Description

In BBj 17.0 and higher, this class provides an administrator program the ability to control individual contexts within the running BBJ Web Server.

Creation

BBjAPI > BBjAdmin > BBjJettyServer > BBjJettyContextController

The BBjJettyContextController is created through the following BBjJettyServer method:

Return Value

Method

BBjJettyContextController

getContext(string name)

Methods of BBjJettyContextController

Return Value

Method

boolean

isStarted()

void

restart()

void

start()

void

stop()

Remarks

None.

Constants

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServer server!
declare BBjJettyContextController root!

api! = BBjAPI()

admin! = api!.getAdmin("admin","admin123")
server! = admin!.getJettyServer()

root! = server!.getContext("root")

See Also

BBjAPI

BBjAdmin

BBjJettyServer