BBjAdminEnvironment

Description

In BBj 5.0 and higher, the BBjAdminEnvironment object provides programmatic access to the BBjServices environment. This may affect other BBj clients.

Creation

BBjAPI > BBjAdmin > BBjAdminEnvironment

The BBjAdminEnvironment object is created through the following BBjAdmin object method:

Return Value

Method

BBjAdminEnvironment

getEnvironment()

Methods of BBjAdminEnvironment

Return Value

Method

void

unpinAllPrograms - deprecated, use unpinServer()

void

unpinServer()

BBjVector

getClasspath(string p_name)

BBjVector

getFullClasspath(string p_name)

void

setClasspath(string p_name,BBjVector p_value)

void

reloadClasspath(string p_name)

Remarks

None.

Constants

None.

Example

rem 'Obtain the instance of the BBjAdmin object

INPUT "Enter an Administrator User: ",user$
INPUT "Enter a password: ",password$
admin! = BBjAPI().getAdmin(user$, password$)
env! = admin!.getEnvironment()

See Also

BBjAPI

BBj Object Variables

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