public static MfpDiagnostics initialize ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "initialize" ) ; // We should only do this once if ( singleton == null ) { singleton = new MfpDiagnostics ( ) ; singleton . register ( packageList ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "initialize" ) ; return singleton ; }
Initialise the diagnostic module by creating the singleton instance and registering it with the diagnostic engine in Websphere .