ADF Core

From ADF Docs
Revision as of 03:00, 22 November 2009 by Renee.mckechnie (talk | contribs) (Created page with '== Overview == Directory for the core components that implement the lightwire object factory. == Components == * Core.cfc - Initialization component for the ADF. This code crea…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Directory for the core components that implement the lightwire object factory.

Components

  • Core.cfc - Initialization component for the ADF. This code creates the factory object into server space. The configuration of the object factory is controlled through the Core Bean Config.
 <cfscript>
   server.ADF = StructNew();
   server.ADF.dependencyStruct = StructNew();
   // Build object factory 
   server.ADF.beanConfig = createObject("component","ADF.core.lightwire.BeanConfig").init();
   server.ADF.objectFactory = StructNew();
   server.ADF.objectFactory = createObject("component","ADF.thirdParty.lightwire.LightWire").init(server.ADF.beanConfig);
   // Build the environment variables
   configEnvironment();
 </cfscript>
  • Base.cfc - Root base component for the ADF. Extended by the AppBase component (AppBase.cfc) to perform get operations for a factory object.
  • AppBase.cfc - Application base component. Extends the Base component and is extended by the custom application App components. Provides a layer between the ADF and the custom application.

Lightwire

Factory Object Configuration

The ADF core initialization is controlled through the Core. This component loads the object factory into server space.

The ADF factory objects are configured through the Core Bean Config.