BBjAppConfig::getClasspathName

Description

In BBj 12.0 and higher, this method returns the application classpath name.

Syntax

Return Value

Method

string

getClasspathName()

Parameters

None.

Return Values

Returns the classpath name.

Remarks

None.

Example

rem ' BBjAppConfig::getClasspathName

app$ = "buisample"
admin! = bbjapi().getAdmin("admin","admin123")
env! = admin!.getEnvironment()
jar$ = dsk("")+dir("")+app$+".jar"
classpath! = bbjapi().makeVector()
classpath!.add(jar$)
env!.setClasspath(app$,classpath!)
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setClasspathName(app$)
print "getClasspathName: ",appConfig!.getClasspathName()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setClasspathName

BBjAppServer

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