void bootTimeScan ( final DeploymentOperations deploymentOperations ) { // WFCORE-1579: skip the scan if deployment dir is not available if ( ! checkDeploymentDir ( this . deploymentDir ) ) { DeploymentScannerLogger . ROOT_LOGGER . bootTimeScanFailed ( deploymentDir . getAbsolutePath ( ) ) ; return ; } this . establishDeployedContentList ( this . deploymentDir , deploymentOperations ) ; deployedContentEstablished = true ; if ( acquireScanLock ( ) ) { try { scan ( true , deploymentOperations ) ; } finally { releaseScanLock ( ) ; } } }
Perform a one - off scan during boot to establish deployment tasks to execute during boot