static void registerTraceComponent ( TraceComponent tc ) { tc . setTraceSpec ( activeTraceSpec ) ; TrService activeDelegate = TrConfigurator . getDelegate ( ) ; activeDelegate . register ( tc ) ; TrConfigurator . traceComponentRegistered ( tc ) ; // Add the new TraceComponent to the queue of new trace components newTracecomponents . add ( tc ) ; processNewTraceComponents ( ) ; // There is a tiny window where the new trace component never gets processed, // however that isn't a problem as we only care that the set is correct is at the // beginning of our setTraceSpec method and it does process the list first }
Support for com . ibm . ejs . ras . Tr register methods