BBjCommandLineObject::getClasspathName
Description
In BBj 9.0 and higher, this method gets the argument to the -CP command line parameter to BBjCommandLineObject.
Syntax
Return Value |
Method |
---|---|
string |
getClasspathName() |
Parameters
None.
Return Value
Returns the name being passed to the -CP parameter of BBjCommandLineObject. To get the original classpath name specified via the -CP argument, use getOriginalClasspathName.
Remarks
The return value can be used in conjunction with SCALL, BBjAPI::newBBjSession, or BBjAPI::newSynchBBjSession to produce a new session that should only be used when desiring a different classpath. Passing the classpath name to the aforementioned verb/methods may not produce a session that has the same classpath as the current session; objects shared between the sessions (as with a BBjNamespace) may not be compatible.
Example
|
See Also
BBjCommandLineObject::setClasspathName
BBjCommandLineObject::getOriginalClasspathName
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.