ADF Core Site Bean Config

From ADF Docs
Revision as of 21:02, 25 March 2010 by Mcarroll (talk | contribs) (Architecture)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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();