BBjJettyServer::getContextNames

Description

In BBj 17.0 and higher, this method returns a BBjVector containing the names of the configured contexts within the integrated Jetty Server.

Syntax

Return Value

Method

BBjVector

getContextNames()

Parameters

None.

Return Value

Returns a BBjVector containing the names of the configured contexts.

Remarks

None.

Example

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

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

declare BBjVector v!
v! = server!.getContextNames()
for i = 1 to v!.size()
  print v!.get(i-1)
next i

See Also

BBjAdmin

BBjJettyServer

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