Skip to content

ColdSpringXmlReference

dskaggs edited this page Nov 12, 2012 · 1 revision

Model-Glue:Unity introduced the ColdSpring.xml file to the application template.

This file replaces the block that was at the top of 1.x ModelGlue.xml files.

It acts as a place to both configure your application and define additional beans accessed through bean injection or through the GetBean() method of the Model-Glue API.

By default, it contains four beans:

  1. ModelGlueConfiguration - the settings for the Model-Glue framework instance in your application. Each setting is explained in the "[ReferenceMaterials/ColdSpringXmlReference/ModelGlueConfiguration Model-Glue Configuration Setting Definitions]" section of this reference.
  2. ReactorConfiguration - if the Reactor framework is installed (necessary for automated database access and scaffolding), these are the settings that will be used to configure Reactor in place of a block at the top of Reactor.xml. Each setting is explained in the "[ReferenceMaterials/ColdSpringXmlReference/ReactorConfiguration Reactor Configuration Setting Definitions]" section of this reference.
  3. TransferConfiguration - if the Transfer ORM framework is installed, these are the settings that will be used to configure Transfer. Each setting is explained in the "[ReferenceMaterials/ColdSpringXmlReference/TransferConfiguration Transfer Configuration Setting Definitions]" section of this reference.
  4. applicationConfiguration - a bean definition for the SimpleConfig.cfc in the Bean/CommonBeans folder of your ModelGlue folder which you can use to set configuration settings for your application. Use of this bean is optional.
Clone this wiki locally