coldbox.system.web.config

Class ApplicationLoader

railo-context.Component
        extended by coldbox.system.web.config.ApplicationLoader
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  

    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

    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

    detectEnvironment

    private void detectEnvironment(any oConfig, any config)

    Detect the running environment and return the name

    Parameters:
    oConfig - The config object
    config - The config struct

    getAppMappingAsDots

    private any getAppMappingAsDots(any appMapping)

    Get the App Mapping as Dots

    Parameters:
    appMapping

    loadCacheBoxByConvention

    private 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 - The direct location of the application in the web server.

    loadLogBoxByConvention

    private void loadLogBoxByConvention(any logBoxConfig, any config)

    Load logBox by convention

    Parameters:
    logBoxConfig
    config

    loadLogBoxByFile

    private void loadLogBoxByFile(any logBoxConfig, any filePath)

    Load logBox by file

    Parameters:
    logBoxConfig
    filePath

    parseCacheBox

    public void parseCacheBox(any oConfig, any config)

    Parse Cache Settings for CacheBox operation

    Parameters:
    oConfig - The config object
    config - The config struct

    parseColdboxSettings

    public void parseColdboxSettings(any oConfig, any config, [any overrideAppMapping=''])

    Parse ColdBox Settings

    Parameters:
    oConfig - The config object
    config - The config struct
    overrideAppMapping - The direct location of the application in the web server.

    parseConventions

    public void parseConventions(any oConfig, any config)

    Parse Conventions

    Parameters:
    oConfig - The config object
    config - The config struct

    parseDatasources

    public void parseDatasources(any oConfig, any config)

    Parse Datsources

    Parameters:
    oConfig - The config object
    config - The config struct

    parseExternalLocations

    public void parseExternalLocations(any oConfig, any config)

    Parse External locations

    Parameters:
    oConfig - The config object
    config - The config struct

    parseFlashScope

    public void parseFlashScope(any oConfig, any config)

    Parse ORM settings

    Parameters:
    oConfig - The config object
    config - The config struct

    parseInterceptors

    public void parseInterceptors(any oConfig, any config)

    Parse Interceptors

    Parameters:
    oConfig - The config object
    config - The config struct

    parseInvocationPaths

    public void parseInvocationPaths(any oConfig, any config)

    Parse Invocation paths

    Parameters:
    oConfig - The config object
    config - The config struct

    parseLayoutsViews

    public void parseLayoutsViews(any oConfig, any config)

    Parse Layouts And Views

    Parameters:
    oConfig - The config object
    config - The config struct

    parseLogBox

    public void parseLogBox(any oConfig, any config, any configHash)

    Parse LogBox

    Parameters:
    oConfig - The config object
    config - The config struct
    configHash - The initial logBox config hash

    parseModules

    public void parseModules(any oConfig, any config)

    Parse Module Settings

    Parameters:
    oConfig - The config object
    config - The config struct

    parseWireBox

    public void parseWireBox(any oConfig, any config)

    Parse WireBox

    Parameters:
    oConfig - The config object
    config - The config struct

    parseYourSettings

    public void parseYourSettings(any oConfig, any config)

    Parse Your Settings

    Parameters:
    oConfig - The config object
    config - The config struct