BBjJettyContextConfiguration::getWarFile


Description

In BBj 15.0 and higher, this method sets the war file in the Jetty Context

Syntax

Return Value

Method

String

getWarFile()

Parameters

None.

Return Value

the full /path/to/the/warfile.war

Remarks

Speficying a WAR file allows deployment of 3rd party web-applications within the internal Jetty Web Server

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!

api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
root! = config!.getRootContextInfo()

print root!.getWarFile()

See Also

BBjAPI

BBjJettyContextConfiguration