public class JacobObject
extends java.lang.Object
All instances of this class and subclasses are automatically managed by the ROT. This means the ROT cannot be a subclass of JacobObject.
All COM object created by JACOB extend this class so that we can automatically release them when the thread is detached from COM - if we leave it to the finalizer it will call the release from another thread, which may result in a segmentation violation.
Constructor and Description |
---|
JacobObject()
Standard constructor that adds this JacobObject to the memory management
pool.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
debug(java.lang.String istrMessage)
Very basic debugging function.
|
static java.lang.String |
getBuildDate()
Deprecated.
use JacobReleaseInfo.getBuildDate() instead.
|
static java.lang.String |
getBuildVersion()
Deprecated.
use JacobReleaseInfo.getBuildVersion() instead.
|
protected static boolean |
isDebugEnabled() |
void |
safeRelease()
Finalizers call this method.
|
public JacobObject()
public void safeRelease()
protected static boolean isDebugEnabled()
@Deprecated public static java.lang.String getBuildDate()
@Deprecated public static java.lang.String getBuildVersion()
protected static void debug(java.lang.String istrMessage)
istrMessage
- http://jacob-project.sourceforge.net