Disable or enable the period based deployment scanning.
Manual scanning can still be performed by calling
DeploymentScannerMBean.scan .
Parameters: flag - True to enable or false to disable period based scanning.
Set the scan period for the scanner.
Parameters: period - This is the time in milliseconds between scans. throws: IllegalArgumentException - Period value out of range.