public synchronized void loadGlobalProperties ( Map < String , Object > map ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "loadGlobalProperties" ) ; // clear before reloading. globalConfigProperties . clear ( ) ; for ( Entry < String , Object > prop : map . entrySet ( ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Setting global property: " + prop . getKey ( ) + "=" + prop . getValue ( ) ) ; } globalConfigProperties . setProperty ( prop . getKey ( ) , ( String ) prop . getValue ( ) ) ; } // Check for dynamic outbound and default config conflicts String outboundDefaultAlias = getGlobalProperty ( LibertyConstants . SSLPROP_OUTBOUND_DEFAULT_ALIAS ) ; if ( outboundDefaultAlias != null && isTransportSecurityEnabled ( ) ) outboundSSL . checkDefaultConflict ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "loadGlobalProperties" ) ; }
Helper method for loading global properties .