Package org.impalaframework.module.monitor

Examples of org.impalaframework.module.monitor.DefaultModuleRuntimeMonitor


        moduleRuntime.afterModuleLoaded(definition1);
    }
   
    public void testWithModuleLoader() throws Exception {

        DefaultModuleRuntimeMonitor runtimeMonitor = new DefaultModuleRuntimeMonitor();
        runtimeMonitor.setModuleChangeMonitor(monitor);
        runtimeMonitor.setModuleLocationResolver(moduleLocationResolver);
        moduleRuntime.setModuleRuntimeMonitor(runtimeMonitor);

        expect(definition1.getName()).andReturn("myName");
        expect(moduleLocationResolver.getApplicationModuleClassLocations("myName")).andReturn(resources);
        this.monitor.setResourcesToMonitor(eq("myName"), aryEq(resources.toArray(new Resource[0])));
View Full Code Here

TOP

Related Classes of org.impalaframework.module.monitor.DefaultModuleRuntimeMonitor

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.