|
IDL Connectivity Bridges: Using Exported Java Objects |
|
The destroyObject method destroys the underlying IDL object associated with the wrapper. If the object being destroyed is the last object within a process, the process is also destroyed.
Note that this method does not destroy the actual wrapper object. Because the wrapper object is a Java object, it follows all the Java reference-counting and garbage-collection schemes. Once all references to the wrapper object are released from Java code and once the JVM calls the garbage collector, the wrapper object may be deleted from memory.
| Note Trying to re-create an object after it has been destroyed it is not supported. You must re-define the variable and then re-create the object. |
public void destroyObject()
None
IDL Online Help (March 06, 2007)