01: /*
02: * AssocData.java --
03: *
04: * The API for registering named data objects in the Tcl
05: * interpreter.
06: *
07: * Copyright (c) 1997 Sun Microsystems, Inc.
08: *
09: * See the file "license.terms" for information on usage and
10: * redistribution of this file, and for a DISCLAIMER OF ALL
11: * WARRANTIES.
12: *
13: * RCS: @(#) $Id: AssocData.java,v 1.2 1999/05/11 23:10:03 dejong Exp $
14: *
15: */
16:
17: package tcl.lang;
18:
19: /**
20: * This interface is the API for registering named data objects in the
21: * Tcl interpreter.
22: */
23:
24: public interface AssocData {
25:
26: /*
27: *----------------------------------------------------------------------
28: *
29: * disposeAssocData --
30: *
31: * This method is called when the interpreter is destroyed or
32: * when Interp.deleteAssocData is called on a registered
33: * AssocData instance.
34: *
35: * Results:
36: * None.
37: *
38: * Side effects:
39: * This method may cause any arbitrary side effects.
40: *
41: *----------------------------------------------------------------------
42: */
43:
44: public void disposeAssocData(Interp interp); // The interpreter in which this AssocData
45: // instance is registered in.
46:
47: }
|