ColdBox Platform Version 2.6.4

coldbox.system.web.loader
Class XMLApplicationLoader

WEB-INF.cftags.component
        extended by coldbox.system.web.loader.AbstractApplicationLoader
            extended by coldbox.system.web.loader.XMLApplicationLoader

public class XMLApplicationLoader
extends AbstractApplicationLoader

Loads a coldbox xml configuration file


Constructor Summary
init(any controller='')
          constructor
 
Method Summary
private void debugPanelAttributeInsert(struct Config, string Panel, any PanelXML)
          Insert a key into a panel attribute
 string getJSONRegex()
          Get the json regex string
 JSON getJSONUtil()
          Create and return a util object for JSON
 void loadConfiguration([string overrideAppMapping=''])
          Parse the application configuration file
 void parseBugTracers(any xml, struct config, [boolean isOverride='false'])
          Parse bug emails
 void parseCacheSettings(any xml, struct config, [boolean isOverride='false'])
          Parse Cache Settings
 void parseColdboxSettings(any xml, struct config, [string overrideAppMapping=''])
          Parse ColdBox Settings
 void parseConventions(any xml, struct config)
          Parse Conventions
 void parseDatasources(any xml, struct config, [boolean isOverride='false'])
          Parse Datsources
 void parseDebuggerSettings(any xml, struct config, [boolean isOverride='false'])
          Parse Debugger Settings
 void parseExternalLocations(any xml, struct config)
          Parse External locations
 void parseIOC(any xml, struct config, [boolean isOverride='false'])
          Parse IOC Integration
 void parseInterceptors(any xml, struct config, [boolean isOverride='false'])
          Parse Interceptors
 void parseInvocationPaths(any xml, struct config)
          Parse Invocation paths
 void parseLayoutsViews(any xml, struct config)
          Parse Layouts And Views
 void parseLocalization(any xml, struct config, [boolean isOverride='false'])
          Parse localization
 void parseLogBox(any xml, struct config, [boolean isOverride='false'])
          Parse LogBox
 void parseMailSettings(any xml, struct config, [boolean isOverride='false'])
          Parse Mail Settings
 void parseModels(any xml, struct config, [boolean isOverride='false'])
          Parse Models
 void parseModules(any xml, struct config, [boolean isOverride='false'])
          Parse Module Settings
 void parseWebservices(any xml, struct config, [boolean isOverride='false'])
          Parse webservices
 void parseYourSettings(any xml, struct config)
          Parse Your Settings
 
Methods inherited from class coldbox.system.web.loader.AbstractApplicationLoader
calculateAppMapping, getAppMappingAsDots, getColdboxSettings, getController, getUtil, loadApplicationPaths, loadLogBoxByConvention, loadLogBoxByFile
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any controller='')
constructor

Parameters:
controller - The coldbox application to load the settings into
Method Detail

debugPanelAttributeInsert

private void debugPanelAttributeInsert(struct Config, string Panel, any PanelXML)
Insert a key into a panel attribute

Parameters:
Config -
Panel -
PanelXML -

getJSONRegex

public string getJSONRegex()
Get the json regex string


getJSONUtil

public JSON getJSONUtil()
Create and return a util object for JSON


loadConfiguration

public void loadConfiguration([string overrideAppMapping=''])
Parse the application configuration file.

Overrides:
loadConfiguration in class AbstractApplicationLoader
Parameters:
overrideAppMapping - Only used for unit testing or reparsing of a specific coldbox config file.

parseBugTracers

public void parseBugTracers(any xml, struct config, [boolean isOverride='false'])
Parse bug emails

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseCacheSettings

public void parseCacheSettings(any xml, struct config, [boolean isOverride='false'])
Parse Cache Settings

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseColdboxSettings

public void parseColdboxSettings(any xml, struct config, [string overrideAppMapping=''])
Parse ColdBox Settings

Parameters:
xml - The xml object
config - The config struct
overrideAppMapping - Only used for unit testing or reparsing of a specific coldbox config file.

parseConventions

public void parseConventions(any xml, struct config)
Parse Conventions

Parameters:
xml - The xml object
config - The config struct

parseDatasources

public void parseDatasources(any xml, struct config, [boolean isOverride='false'])
Parse Datsources

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseDebuggerSettings

public void parseDebuggerSettings(any xml, struct config, [boolean isOverride='false'])
Parse Debugger Settings

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseExternalLocations

public void parseExternalLocations(any xml, struct config)
Parse External locations

Parameters:
xml - The xml object
config - The config struct

parseIOC

public void parseIOC(any xml, struct config, [boolean isOverride='false'])
Parse IOC Integration

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseInterceptors

public void parseInterceptors(any xml, struct config, [boolean isOverride='false'])
Parse Interceptors

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseInvocationPaths

public void parseInvocationPaths(any xml, struct config)
Parse Invocation paths

Parameters:
xml - The xml object
config - The config struct

parseLayoutsViews

public void parseLayoutsViews(any xml, struct config)
Parse Layouts And Views

Parameters:
xml - The xml object
config - The config struct

parseLocalization

public void parseLocalization(any xml, struct config, [boolean isOverride='false'])
Parse localization

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseLogBox

public void parseLogBox(any xml, struct config, [boolean isOverride='false'])
Parse LogBox

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseMailSettings

public void parseMailSettings(any xml, struct config, [boolean isOverride='false'])
Parse Mail Settings

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseModels

public void parseModels(any xml, struct config, [boolean isOverride='false'])
Parse Models

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseModules

public void parseModules(any xml, struct config, [boolean isOverride='false'])
Parse Module Settings

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseWebservices

public void parseWebservices(any xml, struct config, [boolean isOverride='false'])
Parse webservices

Parameters:
xml - The xml object
config - The config struct
isOverride - Flag to denote if overriding or first time runner.

parseYourSettings

public void parseYourSettings(any xml, struct config)
Parse Your Settings

Parameters:
xml - The xml object
config - The config struct

ColdBox Platform Version 2.6.4