ColdBox Platform Version 2.6.4

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(struct configStruct)
          Calculate the AppMapping
 string getAppMappingAsDots(string appMapping)
          Get the App Mapping as Dots
 struct getColdboxSettings()
          Get the coldbox settings
private any getController()
          Get the controller
 Util getUtil()
          Create and return a util object
 void loadApplicationPaths(struct configStruct, [string overrideAppMapping=''])
          Load application paths according to override
 void loadConfiguration([string overrideAppMapping=''])
          Parse the application configuration file
 void loadLogBoxByConvention(any logBoxConfig, struct config)
          Load logBox by convention
 void loadLogBoxByFile(any logBoxConfig, string 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(struct configStruct)
Calculate the AppMapping

Parameters:
configStruct - The config struct

getAppMappingAsDots

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

Parameters:
appMapping

getColdboxSettings

public struct getColdboxSettings()
Get the coldbox settings


getController

private any getController()
Get the controller


getUtil

public Util getUtil()
Create and return a util object


loadApplicationPaths

public void loadApplicationPaths(struct configStruct, [string 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.

loadConfiguration

public void loadConfiguration([string 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, struct config)
Load logBox by convention

Parameters:
logBoxConfig
config

loadLogBoxByFile

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

Parameters:
logBoxConfig
filePath

ColdBox Platform Version 2.6.4