Package org.guvnor.structure.backend.config.watch

Examples of org.guvnor.structure.backend.config.watch.ConfigServiceWatchServiceExecutor


        // enable monitor by default
        if ( System.getProperty( MONITOR_DISABLED ) == null ) {
            watchService = fs.newWatchService();
            configUpdates = new CheckConfigurationUpdates( watchService );
            final ConfigServiceWatchServiceExecutor configServiceWatchServiceExecutor = getWatchServiceExecutor();
            jobs.add( executorService.submit( new DescriptiveRunnable() {
                @Override
                public String getDescription() {
                    return configUpdates.getDescription();
                }
View Full Code Here


        }
    }

    protected ConfigServiceWatchServiceExecutor getWatchServiceExecutor() {
        if ( executor == null ) {
            ConfigServiceWatchServiceExecutor _executor = null;
            try {
                _executor = InitialContext.doLookup( "java:module/ConfigServiceWatchServiceExecutorImpl" );
            } catch ( final Exception ignored ) {
            }
View Full Code Here

TOP

Related Classes of org.guvnor.structure.backend.config.watch.ConfigServiceWatchServiceExecutor

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.