BBjAdmin::getJettyServer

Description

In BBj 17.0 and higher, this method gets the BBjJettyServer to allow programmatic control of the integrated Jetty Server.

Syntax

Return Value

Method

BBjJettyServer

getJettyServer()

Parameters

None.

Return Value

Returns BBjJettyServer.

Remarks

None.

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

BBjAdmin

BBjJettyServer

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.