// App specific variables appBeanName = "PTProfile"; // Load the Profile Base addSingleton("#appComPath#App", appBeanName); // Load the profile service component addSingleton("#appComPath#profileService", "profileService"); addConstructorDependency(appBeanName, "profileService"); // Load the profile Roles component addSingleton("#appComPath#profileRoles", "profileRoles"); addConstructorDependency(appBeanName, "profileRoles"); // Load the profile DAO service addSingleton("#appComPath#profileDAO", "profileDAO"); // Add dependency for the DAO addConstructorDependency(appBeanName, "profileDAO"); // Load the profile forms component if ( ListFirst(server.ADF.version,".") LT 2 ) addTransient("#appComPath#profileForms", "profileForms"); else addTransient("#appComPath#profileFormsV2", "profileForms"); addConstructorDependency(appBeanName, "profileForms"); // Load the profile general chooser component addSingleton("#appComPath#profileGC", "profileGC"); addConstructorDependency(appBeanName, "profileGC"); // Load the PROFILE Transient addTransient("#appComPath#profile", "profile"); // ProfileDAO available inside Profile addConstructorDependency("profile", "profileDAO"); // CoreConfig available inside Profile addConstructorDependency("profile", "CoreConfig"); // Dependecies from ADF Lib if ( ListFirst(server.ADF.version,".") LT 2 ) { addConstructorDependency(appBeanName, "ceData_2_0", "ceData"); addConstructorDependency(appBeanName, "csData_1_3", "csData"); addConstructorDependency(appBeanName, "scripts_1_2", "scripts"); addConstructorDependency(appBeanName, "forms_1_1", "forms"); addConstructorDependency(appBeanName, "utils_1_2", "utils"); addConstructorDependency(appBeanName, "data_1_2", "data"); addConstructorDependency(appBeanName, "ui_1_0", "ui"); addConstructorDependency(appBeanName, "scheduler_1_0", "scheduler"); } else { // ADF 2.0 lib component versions addConstructorDependency(appBeanName, "ceData_3_0", "ceData"); addConstructorDependency(appBeanName, "csData_2_0", "csData"); addConstructorDependency(appBeanName, "scripts_2_0", "scripts"); addConstructorDependency(appBeanName, "forms_2_0", "forms"); addConstructorDependency(appBeanName, "utils_2_0", "utils"); addConstructorDependency(appBeanName, "csSecurity_1_2", "csSecurity"); addConstructorDependency(appBeanName, "data_2_0", "data"); addConstructorDependency(appBeanName, "ui_2_0", "ui"); addConstructorDependency(appBeanName, "scheduler_2_0", "scheduler"); } addConstructorDependency(appBeanName, "csSecurity_1_2", "csSecurity"); addConstructorDependency(appBeanName, "csContent_2_0", "csContent");