Differences
This shows you the differences between two versions of the page.
| research:software:reflex:documentation:generating_your_own_custom_classes [2007/08/13 20:02] – created admin | research:software:reflex:documentation:generating_your_own_custom_classes [2007/08/13 20:10] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Generating your own custom classes ====== | ||
| + | In the case you need to generate custom classes, there are a few things to consider. | ||
| + | |||
| + | First, the class pool (of type '' | ||
| + | |||
| + | You need to give a name to the class. Two important things are: | ||
| + | - The class must be located in a package that is loaded by the Reflex class loader. | ||
| + | - You may need to give a unique name to each of your generated classes in a systematic manner. | ||
| + | |||
| + | For point (1), you need to put your generated classes in the '' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | For point (2), the '' | ||
| + | |||
| + | <code java> | ||
| + | Tools.generateUniqueIdentifier(" | ||
| + | </ | ||
| + | The above will return a unique name for your class, locating it in the appropriate package, and prefixing the simple name of your classes with '' | ||

