BBjJettyServer

Description

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

Creation

BBjAPI > BBjAdmin > BBjJettyServer

The BBjJettyServer is created through the following BBjAdmin method:

Return Value

Method

BBjJettyServer

getJettyServer()

Methods of BBjJettyServer

Return Value

Method

BBjJettyContextController

getContext(string name)

BBjVector

getContextNames()

boolean

isRunning()

void

restart()

void

start()

void

stop()

Remarks

None.

Constants

Example

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

api! = BBjAPI()

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

if (server!.isRunning()) then
    print "Jetty is Running"
else
    print "Jetty is Stopped"
endif

See Also

BBjAPI

BBjAdmin