BBjAdmin::getJettyServerConfig

Description

In BBj 17.0 and higher, this method enables the BBjJettyServerConfiguration to allow programmatic configuration of the integrated Jetty Server.

Syntax

Return Value

Method

BBjJettyServerConfiguration

getJettyServerConfig()

Parameters

None.

Return Value

Returns BBjJettyServerConfiguration.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!
declare BBjVector vect_servlets!
declare BBjNumber sz
api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
root! = config!.getRootContextInfo()
declare BBjJavaServletConfiguration servlet!
servlet! = root!.getJavaServlet("com.wibble.SomeServlet","/*")

See Also

BBjAdmin

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