// App specific variables appBeanName = "ptCourseCatalog"; // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the Course Catalog Components // Load the Department Service component addSingleton("#appComPath#departmentService", "departmentService"); addConstructorDependency(appBeanName, "departmentService"); // Load the School Service component addSingleton("#appComPath#schoolService", "schoolService"); addConstructorDependency(appBeanName, "schoolService"); // Load the Degree Service component addSingleton("#appComPath#degreeService", "degreeService"); addConstructorDependency(appBeanName, "degreeService"); // Load the Term Service component addSingleton("#appComPath#termService", "termService"); addConstructorDependency(appBeanName, "termService"); // Load the Building DAO component addSingleton("#appComPath#buildingService", "buildingService"); addConstructorDependency(appBeanName, "buildingService"); // Load the Course DAO component addSingleton("#appComPath#courseDAO", "courseDAO"); addConstructorDependency(appBeanName, "courseDAO"); // Load the Department DAO component addSingleton("#appComPath#departmentDAO", "departmentDAO"); addConstructorDependency(appBeanName, "departmentDAO"); // Load the Term DAO component addSingleton("#appComPath#termDAO", "termDAO"); addConstructorDependency(appBeanName, "termDAO"); // Load the Degree DAO component addSingleton("#appComPath#degreeDAO", "degreeDAO"); addConstructorDependency(appBeanName, "degreeDAO"); // Load the Program DAO component addSingleton("#appComPath#programDAO", "programDAO"); addConstructorDependency(appBeanName, "programDAO"); // Load the Schedule DAO component addSingleton("#appComPath#scheduleDAO", "scheduleDAO"); addConstructorDependency(appBeanName, "scheduleDAO"); // Load the School DAO component addSingleton("#appComPath#schoolDAO", "schoolDAO"); addConstructorDependency(appBeanName, "schoolDAO"); // Load the Campus DAO component addSingleton("#appComPath#campusDAO", "campusDAO"); addConstructorDependency(appBeanName, "campusDAO"); // Load the Building DAO component addSingleton("#appComPath#buildingDAO", "buildingDAO"); addConstructorDependency(appBeanName, "buildingDAO"); // Inject Dependecies for the DAO into the Service addConstructorDependency("departmentService", "departmentDAO"); addConstructorDependency("schoolService", "schoolDAO"); addConstructorDependency("buildingService", "buildingDAO"); // load the GC component for the course chooser addSingleton("#appComPath#courseGC", "courseGC"); addConstructorDependency(appBeanName, "courseGC"); // Load the Course Search Controller and DAO components addSingleton("#appComPath#courseSearchController", "courseSearchController"); addConstructorDependency(appBeanName, "courseSearchController"); addSingleton("#appComPath#courseSearchDAO", "courseSearchDAO"); addConstructorDependency(appBeanName, "courseSearchDAO"); // Inject Dependecies for the courseSearchDAO into the courseSearchController addConstructorDependency("courseSearchController", "courseSearchDAO"); addConstructorDependency("courseSearchController", "courseDAO"); addConstructorDependency("courseSearchDAO", "courseDAO"); // Load the Catalog Page Controller, Service and DAO components addSingleton("#appComPath#catalogPageController", "catalogPageController"); addConstructorDependency(appBeanName, "catalogPageController"); addSingleton("#appComPath#catalogPageService", "catalogPageService"); addConstructorDependency(appBeanName, "catalogPageService"); addSingleton("#appComPath#catalogPageDAO", "catalogPageDAO"); addConstructorDependency(appBeanName, "catalogPageDAO"); addSingleton("#appComPath#catalogForm", "catalogForm"); addConstructorDependency(appBeanName, "catalogForm"); // Inject Dependecies for the catalogPageDAO, catalogPageServoce into the catalogPageController addConstructorDependency("catalogPageController", "catalogPageService"); addConstructorDependency("catalogPageController", "catalogPageDAO"); // Inject Dependecies for the catalogPageDAO into the catalogPageService addConstructorDependency("catalogPageService", "catalogPageDAO"); // Inject Dependecies for the termDAO, courseDAO, the programDAO and the DepartmentDAO into the catalogPageDAO addConstructorDependency("catalogPageDAO", "courseDAO"); addConstructorDependency("catalogPageDAO", "programDAO"); addConstructorDependency("catalogPageDAO", "departmentDAO"); addConstructorDependency("catalogPageDAO", "termDAO"); // Load the Department Page, Program Page and Course Page Service components addSingleton("#appComPath#departmentPageService", "departmentPageService"); addConstructorDependency(appBeanName, "departmentPageService"); addSingleton("#appComPath#programPageService", "programPageService"); addConstructorDependency(appBeanName, "programPageService"); addSingleton("#appComPath#coursePageService", "coursePageService"); addConstructorDependency(appBeanName, "coursePageService"); // Inject Dependecies for the coursePageService, the programPageService and the departmentPageService into the catalogPageService addConstructorDependency("catalogPageService", "coursePageService"); addConstructorDependency("catalogPageService", "programPageService"); addConstructorDependency("catalogPageService", "departmentPageService"); // Load the Course Schedule Builder Components addTransient("#appComPath#scheduleBuilderForms", "scheduleBuilderForms"); addConstructorDependency(appBeanName, "scheduleBuilderForms"); addSingleton("#appComPath#scheduleBuilderController", "scheduleBuilderController"); addConstructorDependency(appBeanName, "scheduleBuilderController"); addSingleton("#appComPath#scheduleBuilderService", "scheduleBuilderService"); addConstructorDependency(appBeanName, "scheduleBuilderService"); addSingleton("#appComPath#scheduleBuilderDAO", "scheduleBuilderDAO"); addConstructorDependency(appBeanName, "scheduleBuilderDAO"); // Inject Dependecies for the Builder Service and Builder DAO into the Builder Controller addConstructorDependency("scheduleBuilderController", "scheduleBuilderService"); addConstructorDependency("scheduleBuilderController", "scheduleBuilderDAO"); // Inject Dependecies for the Builder DAO into the Builder Service addConstructorDependency("scheduleBuilderService", "scheduleBuilderDAO"); // Inject Dependecies for the Builder DAO into the Builder Forms addConstructorDependency("scheduleBuilderForms", "scheduleBuilderDAO"); // Inject Dependecies for the Schedule DAO into the Builder DAO addConstructorDependency("scheduleBuilderDAO", "scheduleDAO"); // Load the Schedule Day Service component addSingleton("#appComPath#scheduleDaysService", "scheduleDaysService"); addConstructorDependency(appBeanName, "scheduleDaysService"); // Inject Dependecies for the scheduleDays Service into the Schedule Builder Controller, Schedule Builder Service and Schedule Builder DAO addConstructorDependency("scheduleBuilderController", "scheduleDaysService"); addConstructorDependency("scheduleBuilderService", "scheduleDaysService"); addConstructorDependency("scheduleBuilderDAO", "scheduleDaysService"); // Load App Config Components addSingleton("#appComPath#AppCFTProps", "AppCFTProps"); addConstructorDependency(appBeanName, "AppCFTProps"); addSingleton("#appComPath#AppCustomCFParams", "AppCustomCFParams"); addConstructorDependency(appBeanName, "AppCustomCFParams"); // Load the Course Sync Components addSingleton("#appComPath#catalogSyncController", "catalogSyncController"); addConstructorDependency(appBeanName, "catalogSyncController"); addSingleton("#appComPath#catalogSyncDAO", "catalogSyncDAO"); addConstructorDependency(appBeanName, "catalogSyncDAO"); // Load the Scheduled Task Components addSingleton("#appComPath#catalogSyncScheduleTasksDAO", "catalogSyncScheduleTasksDAO"); addConstructorDependency(appBeanName, "catalogSyncScheduleTasksDAO"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "scripts_1_2", "scripts"); addConstructorDependency(appBeanName, "ceData_2_0", "ceData"); addConstructorDependency(appBeanName, "csData_1_2", "csData"); //addConstructorDependency(appBeanName, "data_1_2", "data"); // NOT NEEDED WHEN USING THE OVERRIDE addConstructorDependency(appBeanName, "date_1_2", "date"); addConstructorDependency(appBeanName, "ui_1_0", "ui"); addConstructorDependency(appBeanName, "utils_1_2", "utils"); addConstructorDependency(appBeanName, "forms_1_1", "forms"); addConstructorDependency(appBeanName, "scheduler_1_0", "scheduler"); addConstructorDependency(appBeanName, "CSContent_2_0", "csContent"); addConstructorDependency(appBeanName, "CSSubsite_1_0", "csSubsite"); addConstructorDependency(appBeanName, "CSPage_1_1", "csPage"); addConstructorDependency(appBeanName, "apiPage_1_0", "apiPage"); addConstructorDependency(appBeanName, "apiKeywords_1_0", "apiKeywords"); // Set up the data_1_3 LIB App level override addSingleton("ADF.apps.pt_course_catalog.lib.data_1_3", "coursecatalogData"); addConstructorDependency(appBeanName, "coursecatalogData", "data");