Difference between revisions of "ADF Core Site Bean Config"

From ADF Docs
Jump to: navigation, search
(Architecture)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
== Architecture ==
 
== Architecture ==
 
* Create the CoreConfig object into the object 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.
 
* loadLocalComponents function loads the site level components into the object factory.
<code lang="java">
+
<source lang="java">
 
/*
 
/*
 
  * Load the site level components into application.ADF space.
 
  * Load the site level components into application.ADF space.
Line 22: Line 22:
 
  */
 
  */
 
loadLocalComponents();
 
loadLocalComponents();
</code>
+
</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();