// App specific variables appBeanName = "twitter"; // Get the com path for the current custom application appComPath = getComPathForCustomAppDir(GetCurrentTemplatePath()); // Load the APP Base addSingleton("#appComPath#App", appBeanName); // Load the Application level components addSingleton("#appComPath#twitterService", "twitterService"); addConstructorDependency(appBeanName, "twitterService"); // Load the Application level components addSingleton("ADF.apps.twitter.lib.scripts_1_0", "twitterScripts"); addConstructorDependency(appBeanName, "twitterScripts", "scripts"); // Dependecies from ADF Lib addConstructorDependency("twitterScripts", "scriptsService_1_0", "scriptsService"); addConstructorDependency(appBeanName, "json", "json");