Modified ThreadService & Scheduler to allow the web server to pass a delegate service such that all webapps will use one service for each function (reduction in threading and debug complexity).

This commit is contained in:
wcrisman
2014-08-30 15:43:30 -07:00
parent fba1f9f9b3
commit fa572dae03
15 changed files with 324 additions and 73 deletions

View File

@@ -13,7 +13,7 @@ public interface IWebApplicationFactory {
* @param appProperties The property map containing custom properties for the web application.
* @return The web application.
*/
public IWebApplication[] createWebApplications(File baseDirectory, File externalBaseDirectory, File cacheBaseDirectory, IAppLog log, Properties appProperties);
public IWebApplication[] createWebApplications(File baseDirectory, File externalBaseDirectory, File cacheBaseDirectory, IAppLog log, IThreadService threadService, IScheduler scheduler, Properties appProperties);
/**
* Provides the factory a chance to shutdown any shared resources between the web applications, such as an Application class or thread service.
*/