BBjCommandLineObject::setClasspathName

Description

In BBj 9.0 and higher, this method sets the argument to the -CP command line parameter to BBj.

Syntax

Return Value

Method

void

setClasspathName(string name)

Parameters

Variable

Description

name

The desired classpath name.

Return Value

None.

Remarks

The -CP parameter of BBj should only be used if a different classpath is desired. Specifying the same name may not produce a session that has the same classpath as this one, and objects shared between the sessions (as with a BBjNamespace) may not be compatible.

Example

rem 'get and set classpathName

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()

myCmd!.setClasspathName("test")

PRINT myCMD!.getClasspathName()

See Also

BBjAPI

BBjConfig

BBjCommandLineObject

BBjCommandLineObject::getClasspathName

BBjCommandLineObject::getOriginalClasspathName

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