final synchronized void setTraceSpec(TraceSpecification ts) {
        // update active trace based on incoming trace specification
        if (updateTraceSpec(ts)) {
            // If a listener has been registered with this TraceComponent call
            // the logger to inform it of the change in traceSpec
            if (trStateChangeListener != null)
                trStateChangeListener.traceStateChanged();

            if (logger != null)
                logger.setLevel(getLoggerLevel());

            TrConfigurator.traceComponentUpdated(this);
        }
    }
final synchronized void setTraceSpec ( TraceSpecification ts ) { if ( updateTraceSpec ( ts ) ) { if ( trStateChangeListener != null ) trStateChangeListener . traceStateChanged ( ) ; if ( logger != null ) logger . setLevel ( getLoggerLevel ( ) ) ; TrConfigurator . traceComponentUpdated ( this ) ; } }
Update the active trace settings for this component based on the provided specification.
Package-protected: Not an SPI method.

@param ts TraceSpecification