use of act.app.AppCodeScannerManager in project actframework by actframework.
the class AppCodeScannerPluginManager method initApp.
public void initApp(App app) {
AppCodeScannerManager manager = app.scannerManager();
for (AppCodeScannerPluginBase plugin : registry.values()) {
AppSourceCodeScanner sourceCodeScanner = plugin.createAppSourceCodeScanner(app);
if (null != sourceCodeScanner) {
manager.register(sourceCodeScanner);
}
AppByteCodeScanner byteCodeScanner = plugin.createAppByteCodeScanner(app);
if (null != byteCodeScanner) {
manager.register(byteCodeScanner);
}
}
}
Aggregations