Difference between revisions of "ADF Core Site Bean Config"

From ADF Docs
Jump to: navigation, search
(Architecture)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
== Architecture ==
 
== Architecture ==
* Create the CoreConfig object into the factory.
+
* Create the CoreConfig object into the object factory.
<code lang="java">
+
<source lang="java">
 
/*
 
/*
 
  * Load the singleton for the Core Config file
 
  * Load the singleton for the Core Config file
 
  */
 
  */
 
addSingleton("ADF.core.Config", "CoreConfig");
 
addSingleton("ADF.core.Config", "CoreConfig");
</code>
+
</source>
 +
 
 +
* loadLocalComponents function loads the site level components into the object factory.
 +
<source lang="java">
 +
/*
 +
* Load the site level components into application.ADF space.
 +
* Recurse through the '/_cs_apps/components/' directory for each site.
 +
*/
 +
loadLocalComponents();
 +
</source>
  
 
[[Category:Core]]
 
[[Category:Core]]

Latest revision as of 21:02, 25 March 2010

Overview

The Core Site Bean Configuration file for the lightwire framework creates the objects and dependencies for the site.

The Bean Configuration file extends the Lightwire Config Extended Base component file.

The configuration file sets up the objects for all components and ADF library overrides at the site.

Architecture

  • Create the CoreConfig object into the object factory.
/*
 *	Load the singleton for the Core Config file
 */
addSingleton("ADF.core.Config", "CoreConfig");
  • loadLocalComponents function loads the site level components into the object factory.
/*
 * 	Load the site level components into application.ADF space.
 *		Recurse through the '/_cs_apps/components/' directory for each site.
 */
loadLocalComponents();