Search in sources :

Example 1 with AppCodeScannerManager

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);
        }
    }
}
Also used : AppCodeScannerManager(act.app.AppCodeScannerManager) AppByteCodeScanner(act.app.AppByteCodeScanner) AppSourceCodeScanner(act.app.AppSourceCodeScanner)

Aggregations

AppByteCodeScanner (act.app.AppByteCodeScanner)1 AppCodeScannerManager (act.app.AppCodeScannerManager)1 AppSourceCodeScanner (act.app.AppSourceCodeScanner)1