coldbox.system.web.services

Class LoaderService

WEB-INF.cftags.component
        extended by coldbox.system.web.services.BaseService
            extended by coldbox.system.web.services.LoaderService
Class Attributes:
  • output : false
  •  

    The application and framework loader service

    Constructor Summary
    init(any controller)
          Constructor.
    Method Summary
    private any<coldbox.system.web.loader.AbstractApplicationLoader> createAppLoader([any overrideConfigFile=''])
         Setups the variable for ColdBox loading.
    void createCacheBox()
         Create the application's CacheBox instance.
    void createControllerDecorator()
         Create Controller Decorator.
    LogBox createDefaultLogBox()
         Create a running LogBox instance configured using ColdBox's default config.
    void createWireBox()
         Create WireBox DI Framework with config settings.
    coldbox.system.web.loader.AbstractApplicationLoader getAppLoader()
         Get the application configuration loader used.
    void loadApplication([any overrideConfigFile=''], [any overrideAppMapping=''])
         I load a coldbox application for operation.
    void processShutdown()
         Process the shutdown of the application.
    void registerAspects()
         I Register the current Application's Aspects.
     
    Methods inherited from class coldbox.system.web.services.BaseService
    convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onConfigurationLoad, onShutdown, setController
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Constructor Detail

    init

    public init(any controller)

    Constructor

    Parameters:
    controller

    Method Detail

    createAppLoader

    private any<coldbox.system.web.loader.AbstractApplicationLoader> createAppLoader([any overrideConfigFile=''])

    Setups the variable for ColdBox loading

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

    createCacheBox

    public void createCacheBox()

    Create the application's CacheBox instance


    createControllerDecorator

    public void createControllerDecorator()

    Create Controller Decorator


    createDefaultLogBox

    public LogBox createDefaultLogBox()

    Create a running LogBox instance configured using ColdBox's default config


    createWireBox

    public void createWireBox()

    Create WireBox DI Framework with config settings.


    getAppLoader

    public coldbox.system.web.loader.AbstractApplicationLoader getAppLoader()

    Get the application configuration loader used


    loadApplication

    Public void loadApplication([any overrideConfigFile=''], [any overrideAppMapping=''])

    I load a coldbox application for operation.

    Parameters:
    overrideConfigFile - The configuration file to load the application with
    overrideAppMapping - The direct location of the application in the web server.

    processShutdown

    public void processShutdown()

    Process the shutdown of the application


    registerAspects

    public void registerAspects()

    I Register the current Application's Aspects