BBjJettyContextController::isStarted

Description

In BBj 17.0 and higher, this method returns a boolean value that indicates whether the context has been started.

Syntax

Return Value

Method

boolean

isStarted()

Parameters

None.

Return Value

Returns a boolean where 0 = indicates that the context has not been started and 1 =  indicates that the context has been started.

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

BBjJettyContextController

BBjJettyServer

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