appBeanName = "ptCalendar"; // get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the App Base addSingleton("#appComPath#App", appBeanName); // Load the Calendar CE Views Components addSingleton("#appComPath#calCeViewsDAO", "calCeViewsDAO"); addConstructorDependency(appBeanName, "calCeViewsDAO"); // Load the Calendar Render Components addSingleton("#appComPath#calRenderService", "calRenderService"); addConstructorDependency(appBeanName, "calRenderService"); addSingleton("#appComPath#calRenderDAO", "calRenderDAO"); addConstructorDependency(appBeanName, "calRenderDAO"); // Load the Calendar Render Controller addSingleton("#appComPath#calRenderController", "calRenderController"); addConstructorDependency(appBeanName, "calRenderController"); // Inject Dependecies for the Service and DAO into the Controller addConstructorDependency("calRenderController", "calRenderService"); //addConstructorDependency("calRenderController", "calRenderDAO"); // Inject Dependecies for the DAO into the Service //addConstructorDependency("calRenderService", "calRenderDAO"); // Load the Calendar Render Display View Components addSingleton("#appComPath#calRenderViewService", "calRenderViewService"); addConstructorDependency(appBeanName, "calRenderViewService"); addSingleton("#appComPath#calRenderViewDAO", "calRenderViewDAO"); addConstructorDependency(appBeanName, "calRenderViewDAO"); // Inject Dependecies for the DAO into the Service addConstructorDependency("calRenderViewService", "calRenderViewDAO"); // Load the Calendar Events Components addTransient("#appComPath#calEventsForms", "calEventsForms"); addConstructorDependency(appBeanName, "calEventsForms"); addSingleton("#appComPath#calEventsService", "calEventsService"); addConstructorDependency(appBeanName, "calEventsService"); addSingleton("#appComPath#calEventsDAO", "calEventsDAO"); addConstructorDependency(appBeanName, "calEventsDAO"); // Calendar Events Cache Components addSingleton("#appComPath#calEventsCacheController", "calEventsCacheController"); addConstructorDependency(appBeanName, "calEventsCacheController"); addSingleton("#appComPath#calEventsCacheService", "calEventsCacheService"); addConstructorDependency(appBeanName, "calEventsCacheService"); addSingleton("#appComPath#calEventsCacheMemoryDAO", "calEventsCacheMemoryDAO"); addConstructorDependency(appBeanName, "calEventsCacheMemoryDAO"); addSingleton("#appComPath#calEventsCacheFileDAO", "calEventsCacheFileDAO"); addConstructorDependency(appBeanName, "calEventsCacheFileDAO"); addSingleton("#appComPath#calEventsCacheDatabaseDAO", "calEventsCacheDatabaseDAO"); addConstructorDependency(appBeanName, "calEventsCacheDatabaseDAO"); // Inject Dependecies for the each type of cache DAO into the calEventsCacheController addConstructorDependency("calEventsCacheController", "calEventsCacheMemoryDAO"); addConstructorDependency("calEventsCacheController", "calEventsCacheFileDAO"); addConstructorDependency("calEventsCacheController", "calEventsCacheDatabaseDAO"); // Calendar Events Copy Components addSingleton("#appComPath#calEventsConfirmController", "calEventsConfirmController"); addConstructorDependency(appBeanName, "calEventsConfirmController"); addSingleton("#appComPath#calEventsSeriesService", "calEventsSeriesService"); addConstructorDependency(appBeanName, "calEventsSeriesService"); // Calendar Events Copy Components addSingleton("#appComPath#calEventsCopyController", "calEventsCopyController"); addConstructorDependency(appBeanName, "calEventsCopyController"); // Load the Calendar Event Details Components addSingleton("#appComPath#calEventDetailsService", "calEventDetailsService"); addConstructorDependency(appBeanName, "calEventDetailsService"); addSingleton("#appComPath#calEventDetailsDAO", "calEventDetailsDAO"); addConstructorDependency(appBeanName, "calEventDetailsDAO"); // Load the Calendar Event DateTime Components addSingleton("#appComPath#calEventDateTimeService", "calEventDateTimeService"); addConstructorDependency(appBeanName, "calEventDateTimeService"); addSingleton("#appComPath#calEventDateTimeDAO", "calEventDateTimeDAO"); addConstructorDependency(appBeanName, "calEventDateTimeDAO"); // Load the Calendar Event Recurrence Components addSingleton("#appComPath#calEventRecurrenceService", "calEventRecurrenceService"); addConstructorDependency(appBeanName, "calEventRecurrenceService"); addSingleton("#appComPath#calEventRecurrenceDAO", "calEventRecurrenceDAO"); addConstructorDependency(appBeanName, "calEventRecurrenceDAO"); // Load the Calendar Event Notification Components addSingleton("#appComPath#calEventNotificationService", "calEventNotificationService"); addConstructorDependency(appBeanName, "calEventNotificationService"); // Load the Calendar Event Categories Components addSingleton("#appComPath#calEventCategoriesDAO", "calEventCategoriesDAO"); addConstructorDependency(appBeanName, "calEventCategoriesDAO"); // Load the Calendar Organizations Components addSingleton("#appComPath#calOrganizationsDAO", "calOrganizationsDAO"); addConstructorDependency(appBeanName, "calOrganizationsDAO"); // Load the Calendar Page Map Components addSingleton("#appComPath#calPageMapDAO", "calPageMapDAO"); addConstructorDependency(appBeanName, "calPageMapDAO"); // Load the Calendar Events iCal Components addSingleton("#appComPath#calEventsiCalService", "calEventsiCalService"); addConstructorDependency(appBeanName, "calEventsiCalService"); // Load the Calendar Events RSS Components addSingleton("#appComPath#calEventsRssService", "calEventsRssService"); addConstructorDependency(appBeanName, "calEventsRssService"); // Load the Calendar Events Manager Components addSingleton("#appComPath#calEventsSearchController", "calEventsSearchController"); addConstructorDependency(appBeanName, "calEventsSearchController"); addSingleton("#appComPath#calEventsSearchDAO", "calEventsSearchDAO"); addConstructorDependency(appBeanName, "calEventsSearchDAO"); // Load the Calendar dateTimeBuilder Components addTransient("#appComPath#dateTimeBuilderForms", "dateTimeBuilderForms"); addConstructorDependency(appBeanName, "dateTimeBuilderForms"); addSingleton("#appComPath#dateTimeBuilderController", "dateTimeBuilderController"); addConstructorDependency(appBeanName, "dateTimeBuilderController"); addSingleton("#appComPath#dateTimeBuilderService", "dateTimeBuilderService"); addConstructorDependency(appBeanName, "dateTimeBuilderService"); addSingleton("#appComPath#dateTimeBuilderDAO", "dateTimeBuilderDAO"); addConstructorDependency(appBeanName, "dateTimeBuilderDAO"); // Inject Dependecies for the Service and DAO into the Controller addConstructorDependency("dateTimeBuilderController", "dateTimeBuilderService"); addConstructorDependency("dateTimeBuilderController", "dateTimeBuilderDAO"); // Load the Calendar recurrenceBuilder Components addTransient("#appComPath#recurrenceBuilderForms", "recurrenceBuilderForms"); addConstructorDependency(appBeanName, "recurrenceBuilderForms"); addSingleton("#appComPath#recurrenceBuilderController", "recurrenceBuilderController"); addConstructorDependency(appBeanName, "recurrenceBuilderController"); addSingleton("#appComPath#recurrenceBuilderService", "recurrenceBuilderService"); addConstructorDependency(appBeanName, "recurrenceBuilderService"); addSingleton("#appComPath#recurrenceBuilderDAO", "recurrenceBuilderDAO"); addConstructorDependency(appBeanName, "recurrenceBuilderDAO"); // Inject Dependecies for the Service and DAO into the Controller addConstructorDependency("recurrenceBuilderController", "recurrenceBuilderService"); addConstructorDependency("recurrenceBuilderController", "recurrenceBuilderDAO"); // DAO and General Chooser Compontents for CS Users addSingleton("#appComPath#calCSUsersGC", "calCSUsersGC"); addConstructorDependency(appBeanName, "calCSUsersGC"); addSingleton("#appComPath#calCSUsersDAO", "calCSUsersDAO"); addConstructorDependency(appBeanName, "calCSUsersDAO"); // Load the Calendar Service Component addSingleton("#appComPath#calService", "calService"); addConstructorDependency(appBeanName, "calService"); addConstructorDependency("calService", "scriptsService_1_1", "scriptsService"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "csContent_2_0", "csContent"); addConstructorDependency(appBeanName, "ceData_3_0", "ceData"); addConstructorDependency(appBeanName, "csData_2_0", "csData"); addConstructorDependency(appBeanName, "data_2_0", "data"); addConstructorDependency(appBeanName, "date_2_0", "date"); addConstructorDependency(appBeanName, "forms_2_0", "forms"); addConstructorDependency(appBeanName, "scripts_2_0", "scripts"); addConstructorDependency(appBeanName, "ui_2_0", "ui"); addConstructorDependency(appBeanName, "utils_2_0", "utils"); //addConstructorDependency(appBeanName, "api_1_0", "api");