BBjJettyServer::getContext

Description

In BBj 17.0 and higher, this method returns a BBjJettyContextController that can control a running context within the integrated Jetty Server.

Syntax

Return Value

Method

BBjJettyContextController

getContext(string name)

Parameters

Variable

Description

name

The name of the context.

Return Value

Returns a BBjJettyContextController for the specified context.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServer server!
declare BBjJettyContextController root!
api! = BBjAPI()

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

See Also

BBjAdmin

BBjJettyServer

BBjJettyContextController

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