box.system.web.loader.concurrent.Callable interface">
ColdBox Platform Version 3.1.0

coldbox.system.web.loader
Class AbstractApplicationLoader

WEB-INF.cftags.component
        extended by coldbox.system.web.loader.AbstractApplicationLoader
Direct Known Subclasses:
CFCApplicationLoader , XMLApplicationLoader

public class AbstractApplicationLoader
extends WEB-INF.cftags.component

Abstract coldbox application loader


Constructor Summary
init(any controller)
          constructor
 
Method Summary
 void calculateAppMapping(any configStruct)
          Calculate the AppMapping
 string getAppMappingAsDots(any appMapping)
          Get the App Mapping as Dots
 any getColdboxSettings()
          Get the coldbox settings
private any getController()
          Get the controller
 any getUtil()
          Create and return a util object
 void loadApplicationPaths(any configStruct, [any overrideAppMapping=''])
          Load application paths according to override
 any loadCacheBoxByConvention(any config)
          Basically get the right config file to load in place
 void loadConfiguration([any overrideAppMapping=''])
          Parse the application configuration file
 void loadLogBoxByConvention(any logBoxConfig, any config)
          Load logBox by convention
 void loadLogBoxByFile(any logBoxConfig, any filePath)
          Load logBox by file
 
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

calculateAppMapping

public void calculateAppMapping(any configStruct)
Calculate the AppMapping

Parameters:
configStruct - The config struct

getAppMappingAsDots

public string getAppMappingAsDots(any appMapping)
Get the App Mapping as Dots

Parameters:
appMapping

getColdboxSettings

public any getColdboxSettings()
Get the coldbox settings


getController

private any getController()
Get the controller


getUtil

public any getUtil()
Create and return a util object


loadApplicationPaths

public void loadApplicationPaths(any configStruct, [any overrideAppMapping=''])
Load application paths according to override

Parameters:
configStruct - The configuration structure
overrideAppMapping - Only used for unit testing or reparsing of a specific coldbox config file.

loadCacheBoxByConvention

public any loadCacheBoxByConvention(any config)
Basically get the right config file to load in place

Parameters:
config

loadConfiguration

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

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

loadLogBoxByConvention

public void loadLogBoxByConvention(any logBoxConfig, any config)
Load logBox by convention

Parameters:
logBoxConfig
config

loadLogBoxByFile

public void loadLogBoxByFile(any logBoxConfig, any filePath)
Load logBox by file

Parameters:
logBoxConfig
filePath

ColdBox Platform Version 3.1.0