BBjJettyServer::isRunning

Description

In BBj 17.0 and higher, this method returns a boolean value that indicates whether the Jetty server is running.

Syntax

Return Value

Method

boolean

isRunning()

Parameters

None.

Return Value

Returns a boolean where 0 = indicates that Jetty is not running and 1 = indicates that Jetty is running.

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.