BBjspPipelineConfig::setBBjConfig (Deprecated)

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

Description

In BBj 17.0 and higher, this method sets the config.bbx file used during execution of the pipeline stages.

Syntax

Return Value

Method

void

setBBjConfig(string config)

Parameters

Variable

Description

config

the config.bbx file to use

Return Value

None.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!
declare BBjspPipelineConfig pipelineConfig!
declare BBjspPipelineStageConfig stage1Config!

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

pipelineConfig! = root!.addPipelineConfig("MyPipeline")
pipelineConfig!.setBBjConfig("/opt/basis/bbj/cfg/config.bbx")
stage1Config! = pipelineConfig!.create("Stage1","MyPipeline.bbj","Stage1")

pipelineConfig!.save()

See Also