coldbox.system.web.services

Class LoaderService

lucee.Component
    extended by coldbox.system.web.services.BaseService
      extended by coldbox.system.web.services.LoaderService

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This service loads and configures a ColdBox application for operation

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any controller)
          Constructor.
    Method Summary
    any createAppLoader([any overrideConfigFile=''])
         Creates the application loader.
    LoaderService createCacheBox()
         Create the application's CacheBox instance.
    LoaderService createControllerDecorator()
         Create the controller decorator.
    any createDefaultLogBox()
         Create a running LogBox instance configured using ColdBox's default config.
    LoaderService createWireBox()
         Create WireBox DI Framework with configuration settings.
    LoaderService loadApplication([any overrideConfigFile=''], [any overrideAppMapping=''])
         Load a ColdBox application.
    LoaderService processShutdown()
         Process the shutdown of the application.
     
    Methods inherited from class coldbox.system.web.services.BaseService
    getController, onConfigurationLoad, onShutdown, setController
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any controller)

    Constructor

    Parameters:
    controller

    Method Detail

    createAppLoader

    public any createAppLoader([any overrideConfigFile=''])

    Creates the application loader

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

    createCacheBox

    public LoaderService createCacheBox()

    Create the application's CacheBox instance


    createControllerDecorator

    public LoaderService createControllerDecorator()

    Create the controller decorator


    createDefaultLogBox

    public any createDefaultLogBox()

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

    Returns:
    coldbox.system.logging.LogBox

    createWireBox

    public LoaderService createWireBox()

    Create WireBox DI Framework with configuration settings.


    loadApplication

    public LoaderService loadApplication([any overrideConfigFile=''], [any overrideAppMapping=''])

    Load a ColdBox application

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

    processShutdown

    public LoaderService processShutdown()

    Process the shutdown of the application