// App specific variables appBeanName = "ptSync"; // Get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the Controller component addSingleton("#appComPath#syncController", "syncController"); addConstructorDependency(appBeanName, "syncController"); // Load the Service component addSingleton("#appComPath#syncService", "syncService"); addConstructorDependency(appBeanName, "syncService"); // Load the DAO component addSingleton("#appComPath#syncDAO", "syncDAO"); addConstructorDependency(appBeanName, "syncDAO"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "scripts_1_1", "scripts"); addConstructorDependency(appBeanName, "csData_1_1", "csData"); addConstructorDependency(appBeanName, "data_1_1", "data"); addConstructorDependency(appBeanName, "date_1_1", "date"); addConstructorDependency(appBeanName, "utils_1_1", "utils"); addConstructorDependency(appBeanName, "forms_1_1", "forms"); //addConstructorDependency(appBeanName, "scheduler_1_0", "scheduler"); // Create object for the CEData Lib override addSingleton("ADF.apps.pt_sync.lib.ceData_1_1", "#appBeanName#_cedata_1_1"); // Add in the CEData dependencies addConstructorDependency("#appBeanName#_cedata_1_1", "csSecurity_1_0", "csSecurity"); addConstructorDependency("#appBeanName#_cedata_1_1", "data_1_1", "data"); // Add the CEData to the App addConstructorDependency(appBeanName, "#appBeanName#_cedata_1_1", "cedata"); // Create object for the CCAPI Lib override addSingleton("ADF.apps.pt_sync.lib.ccapi_1_0", "#appBeanName#_ccapi_1_0"); // Add in the CEData dependencies addConstructorDependency("#appBeanName#_ccapi_1_0", "CoreConfig", "CoreConfig"); addConstructorDependency("#appBeanName#_ccapi_1_0", "utils_1_1", "utils"); // Add the CEData to the App addConstructorDependency(appBeanName, "#appBeanName#_ccapi_1_0", "ccapi"); // Create object for the Scheduler Lib override addSingleton("ADF.apps.pt_sync.lib.scheduler_1_0", "#appBeanName#_scheduler_1_0"); // Add in the Scheduler dependencies addConstructorDependency("#appBeanName#_scheduler_1_0", "utils_1_1", "utils"); addConstructorDependency("#appBeanName#_scheduler_1_0", "scripts_1_1", "scripts"); // Add the CEData to the App addConstructorDependency(appBeanName, "#appBeanName#_scheduler_1_0", "scheduler"); // Setup the CS Remote CFC //addSingleton("ADF.apps.pt_sync.lib.csRemote_1_0", "#appBeanName#_csRemote_1_0"); // Add the csremote to the App //addConstructorDependency(appBeanName, "#appBeanName#_csRemote_1_0", "csremote");