Difference between revisions of "ADF Core Site Bean Config"

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

Revision as of 14:07, 24 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();