| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandWithDispose
This interface is implemented by Commands that need to know when they are deleted from an interpreter. Most commands do not need to know when they are deleted in Java because Java will garbage collect any allocations made by the command. However, sometimes a command may hold onto resources that must be explicitly released. This interface allows those commands to be notified when they are being deleted from the interpreter.
| Method Summary | |
|---|---|
 void | 
disposeCmd()
Called when the interpreter is removing the Tcl command  | 
| Methods inherited from interface tcl.lang.Command | 
|---|
cmdProc | 
| Method Detail | 
|---|
void disposeCmd()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||