private static FaxJobMonitor getFaxJobMonitor ( ) { //get system configuration Map < String , String > systemConfig = LibraryConfigurationLoader . getSystemConfiguration ( ) ; if ( FaxClientSpiFactory . faxJobMonitor == null ) { synchronized ( FaxClientSpiFactory . class ) { if ( FaxClientSpiFactory . faxJobMonitor == null ) { //create fax job monitor FaxJobMonitor localFaxJobMonitor = FaxClientSpiFactory . createFaxJobMonitor ( systemConfig ) ; //get logger Logger localLogger = FaxClientSpiFactory . getLogger ( ) ; //initialize localFaxJobMonitor . initialize ( systemConfig , localLogger ) ; //keep reference FaxClientSpiFactory . faxJobMonitor = localFaxJobMonitor ; } } } return FaxClientSpiFactory . faxJobMonitor ; }
This function returns the fax job monitor .