BBjJettyContextConfiguration::deleteCommandConfig (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 17.00 and higher, this method deletes the BBjspCommandConfig for the named command in the current BBjJettyContext.

Syntax

Return Value

Method

BBjspCommandConfig

deleteCommandConfig(string name)

Parameters

Variable

Description

name

The name of the command.

Return Value

Returns a BBjspCommandConfig record.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration context!
declare BBjspCommandConfig commandCfg!

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

commandCfg! = context!.deleteCommandConfig("/foo.cmd")

config!.saveConfig()

See Also

BBjspCommandConfig