Package com.nabalive.application.core.util

Examples of com.nabalive.application.core.util.FolderWatcher


        if (!scriptFolder.isDirectory()) {
            throw new IllegalStateException("parameter \"apps.folder\" must point to a directory: " + APPS_FOLDER);
        }

        Runnable folderWatcher = new FolderWatcher(scriptFolder) {
            @Override
            protected void onChange(File file) {
                logger.debug("FolderWatcher onChange: {}", file.getName());
                if(!file.exists()){
                    applicationManager.unRegisterByName(stripExtension(file.getName()));
View Full Code Here

TOP

Related Classes of com.nabalive.application.core.util.FolderWatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.