// App specific variables appBeanName = "PTForum"; // Get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the PTForum APP component addSingleton("#appComPath#forums", "forums"); addConstructorDependency(appBeanName, "forums"); addSingleton("#appComPath#forumsService", "forumsService"); addConstructorDependency(appBeanName, "forumsService"); addSingleton("#appComPath#categoriesDAO", "categoriesDAO"); addConstructorDependency(appBeanName, "categoriesDAO"); addSingleton("#appComPath#topicsDAO", "topicsDAO"); addConstructorDependency(appBeanName, "topicsDAO"); addSingleton("#appComPath#threadsDAO", "threadsDAO"); addConstructorDependency(appBeanName, "threadsDAO"); addSingleton("#appComPath#messagesService", "messagesService"); addConstructorDependency(appBeanName, "messagesService"); addSingleton("#appComPath#messagesDAO", "messagesDAO"); addConstructorDependency(appBeanName, "messagesDAO"); addSingleton("#appComPath#usersettingsDAO", "usersettingsDAO"); addConstructorDependency(appBeanName, "usersettingsDAO"); addSingleton("#appComPath#forumsUserGroupsDAO", "forumsUserGroupsDAO"); addConstructorDependency(appBeanName, "forumsUserGroupsDAO"); addSingleton("#appComPath#forumsUserGroupsGC", "forumsUserGroupsGC"); addConstructorDependency(appBeanName, "forumsUserGroupsGC"); addSingleton("#appComPath#forumsUsersDAO", "forumsUsersDAO"); addConstructorDependency(appBeanName, "forumsUsersDAO"); addSingleton("#appComPath#forumsUsersGC", "forumsUsersGC"); addConstructorDependency(appBeanName, "forumsUsersGC"); addSingleton("#appComPath#subscriptionsDAO", "subscriptionsDAO"); addConstructorDependency(appBeanName, "subscriptionsDAO"); addSingleton("#appComPath#subscriptionsService", "subscriptionsService"); addConstructorDependency(appBeanName, "subscriptionsService"); // Load the Forms componets as Transients addTransient("#appComPath#categoriesForms", "categoriesForms"); addConstructorDependency(appBeanName, "categoriesForms"); addTransient("#appComPath#threadsForms", "threadsForms"); addConstructorDependency(appBeanName, "threadsForms"); addTransient("#appComPath#topicsForms", "topicsForms"); addConstructorDependency(appBeanName, "topicsForms"); addTransient("#appComPath#messagesForms", "messagesForms"); addConstructorDependency(appBeanName, "messagesForms"); // Load the Security componets as Transients addTransient("#appComPath#securityService", "securityService"); addConstructorDependency(appBeanName, "securityService"); // Dependecies from ADF Lib addConstructorDependency(appBeanName, "ceData_1_0", "ceData"); addConstructorDependency(appBeanName, "csData_1_0", "csData"); addConstructorDependency(appBeanName, "scripts_1_0", "scripts"); addConstructorDependency(appBeanName, "forms_1_0", "forms"); addConstructorDependency(appBeanName, "data_1_0", "data"); addConstructorDependency(appBeanName, "csSecurity_1_0", "csSecurity"); addConstructorDependency(appBeanName, "utils_1_0", "utils");