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.
Using Resources from an SSCP
In BBj 25.00 and higher, programs and resources that are added to a JAR file in a classpath can be used by adding a "!!" prefix. Go to Loading Resources from Classpath for more information.
Example
|
See Also
BBjCommandLineObject::getClasspathName
BBjCommandLineObject::getOriginalClasspathName
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.