Oracle Waveset 8.1.1 System Administrator's Guide

Other Tracing Guidelines

This section describes some additional tracing guidelines, including the following:

Tracing Inner Classes

Remember to trace significant methods in inner classes. Be sure to declare a final static CLASS variable if there are any trace methods in the inner class.


Example 5–5 Example of Using a CLASS Variable in Inner Classes

private final static String CLASS = 
com.waveset.adapter.SomeResourceAdapter$AdapterInnerClass;

Tracing Static Initializers

In general, do not use the trace facility in static initializers. Waveset executes these initializers when the class is loaded, which can occur when the repository is initialized. Use the Debug class to trace anything significant in static initializers.