railo-context.Component coldbox.system.web.config.ApplicationLoader
Loads a coldbox configuration file
Constructor Summary | |
---|---|
init(any controller='')
constructor. |
Method Summary | |
---|---|
void
|
calculateAppMapping(any configStruct)
Calculate the AppMapping. |
private void
|
detectEnvironment(any oConfig, any config)
Detect the running environment and return the name. |
private any
|
getAppMappingAsDots(any appMapping)
Get the App Mapping as Dots. |
private any
|
loadCacheBoxByConvention(any config)
Basically get the right config file to load in place. |
void
|
loadConfiguration([any overrideAppMapping=''])
Parse the application configuration file. |
private void
|
loadLogBoxByConvention(any logBoxConfig, any config)
Load logBox by convention. |
private void
|
loadLogBoxByFile(any logBoxConfig, any filePath)
Load logBox by file. |
void
|
parseCacheBox(any oConfig, any config)
Parse Cache Settings for CacheBox operation. |
void
|
parseColdboxSettings(any oConfig, any config, [any overrideAppMapping=''])
Parse ColdBox Settings. |
void
|
parseConventions(any oConfig, any config)
Parse Conventions. |
void
|
parseDatasources(any oConfig, any config)
Parse Datsources. |
void
|
parseExternalLocations(any oConfig, any config)
Parse External locations. |
void
|
parseFlashScope(any oConfig, any config)
Parse ORM settings. |
void
|
parseInterceptors(any oConfig, any config)
Parse Interceptors. |
void
|
parseInvocationPaths(any oConfig, any config)
Parse Invocation paths. |
void
|
parseLayoutsViews(any oConfig, any config)
Parse Layouts And Views. |
void
|
parseLogBox(any oConfig, any config, any configHash)
Parse LogBox. |
void
|
parseModules(any oConfig, any config)
Parse Module Settings. |
void
|
parseWireBox(any oConfig, any config)
Parse WireBox. |
void
|
parseYourSettings(any oConfig, any config)
Parse Your Settings. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
controller
- The coldbox application to load the settings intoMethod Detail |
---|
Calculate the AppMapping
configStruct
- The config structDetect the running environment and return the name
oConfig
- The config objectconfig
- The config structGet the App Mapping as Dots
appMapping
Basically get the right config file to load in place
config
Parse the application configuration file.
overrideAppMapping
- The direct location of the application in the web server.Load logBox by convention
logBoxConfig
config
Load logBox by file
logBoxConfig
filePath
Parse Cache Settings for CacheBox operation
oConfig
- The config objectconfig
- The config structParse ColdBox Settings
oConfig
- The config objectconfig
- The config structoverrideAppMapping
- The direct location of the application in the web server.Parse Conventions
oConfig
- The config objectconfig
- The config structParse Datsources
oConfig
- The config objectconfig
- The config structParse External locations
oConfig
- The config objectconfig
- The config structParse ORM settings
oConfig
- The config objectconfig
- The config structParse Interceptors
oConfig
- The config objectconfig
- The config structParse Invocation paths
oConfig
- The config objectconfig
- The config structParse Layouts And Views
oConfig
- The config objectconfig
- The config structParse LogBox
oConfig
- The config objectconfig
- The config structconfigHash
- The initial logBox config hashParse Module Settings
oConfig
- The config objectconfig
- The config structParse WireBox
oConfig
- The config objectconfig
- The config structParse Your Settings
oConfig
- The config objectconfig
- The config struct