Script functions reference > Script functions in alphabetical order > J > JavaDestroyObject

JavaDestroyObject
Syntax
JavaDestroyObject(strObjHandle);
strObjHandle
Description
Destroys the Java object identified by strObjHandle. It is possible to reuse the same handle to create a new object after successful destruction of the Java object.
Returns
A number indicating whether the object was successfully destroyed.
0
-1
Example
$iRetVal = JavaDestroyObject("objTestHandle");
OpenText StreamServe 5.6 Updated: 2013-03-01