01: // Copyright 2000 Finn Bock
02:
03: package org.python.core;
04:
05: /**
06: * An empty tagging interface that can be used if a java class
07: * want control over the class dict initialization.
08: * When a java class implements this interface, it must also have
09: * a method like:
10: * <pre>
11: * public static void classDictInit(PyObject dict) { .. }
12: * </pre>
13: * The method will be called when the class is initialized. The
14: * method can then make changes to the class's __dict__ instance,
15: * f.example be removing method that should not be avaiable in python
16: * or by replacing some method with high performance versions.
17: */
18:
19: public interface ClassDictInit {
20: // An empty tagging interface.
21: }
|