// App specific variables appBeanName = "starterApp"; // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the STARTER APP Controller component addSingleton("#appComPath#starterAppController", "starterAppController"); addConstructorDependency(appBeanName, "starterAppController"); // Load the STARTER APP Service component addSingleton("#appComPath#starterAppService", "starterAppService"); addConstructorDependency(appBeanName, "starterAppService"); // Load the STARTER APP DAO component addSingleton("#appComPath#starterAppDAO", "starterAppDAO"); addConstructorDependency(appBeanName, "starterAppDAO"); // Inject Dependecies for the Service and DAO into the Controller addConstructorDependency("starterAppController", "starterAppService"); addConstructorDependency("starterAppController", "starterAppDAO"); // Dependecies from ADF Lib if ( ListFirst(server.ADF.version,".") LT 2 ) { addConstructorDependency(appBeanName, "scripts_1_2", "scripts"); addConstructorDependency(appBeanName, "cedata_2_0", "cedata"); } else { // ADF 2.0 lib component versions addConstructorDependency(appBeanName, "scripts_2_0", "scripts"); addConstructorDependency(appBeanName, "cedata_3_0", "cedata"); }