BBjAdminEnvironment::reloadClasspath

Description

In BBj 9.0 and higher, this BBjAdminEnvironment method instructs BBjServices to reload any jar files on the session specific classpath with the given name.

Syntax

Return Value

Method

void

reloadClasspath(string p_name)

Parameters

Variable

Description

p_name

The name of the classpath to retrieve.

Return Value

None.

Remarks

Passing an invalid or non-existent classpath name will cause an !ERROR=17 .

Passing the empty string will instruct BBjServices to reload the default classpath and all session classpaths.

Example

INPUT "Enterprise Manager Admin Login: ", user$
INPUT "Password: ",'EE', passwd$, 'BE'

rem ' Install new jar files
rem ' ...
DECLARE BBjAdminEnvironment env!
env! = BBjAPI().getAdmin(user$, passwd$).getEnvironment()
env!.reloadClasspath("test")

See Also

BBjAPI

BBjAdminEnvironment

BBjAdminEnvironment::getClasspath

BBjAdminEnvironment::getFullClasspath

BBjAdminEnvironment::setClasspath

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