ResourceChangeScannerConfiguration sConf =
ResourceFactory.getResourceChangeScannerService().
newResourceChangeScannerConfiguration();
sConf.setProperty( "drools.resource.scanner.interval", Integer.toString(scannerInterval) );
ResourceFactory.getResourceChangeScannerService().configure( sConf );
ResourceFactory.getResourceChangeScannerService().setSystemEventListener(new SystemEventListener() {
public void info(String message) {
logger.info(message);
}
public void info(String message, Object object) {
logger.info(message, object.toString());