box.system.services.concurrent.Callable interface"> Callable
ColdBox Platform Version 2.6.4

coldbox.system.services
Class LoaderService

WEB-INF.cftags.component
        extended by coldbox.system.services.BaseService
            extended by coldbox.system.services.LoaderService

public class LoaderService
extends BaseService

The application and framework loader service


Constructor Summary
init(any controller)
          Constructor
 
Method Summary
private AbstractApplicationLoader createAppLoader([string overrideConfigFile=''])
          Detect the application loader to use and create it
 CacheManager createCacheManager()
          Create the cboxCache provider
 LogBox createLogBox()
          Create a running LogBox instance configured using ColdBox's default config
 AbstractApplicationLoader getAppLoader()
          Get the application configuration loader used
 void loadApplication([string overrideConfigFile=''], [string 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.services.BaseService
convertToColdBox, debug, getColdboxOCM, getLogger, getUtil, getcontroller, isFamilyType, onAspectsLoad, onConfigurationLoad, onShutdown, setcontroller
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any controller)
Constructor

Parameters:
controller
Method Detail

createAppLoader

private AbstractApplicationLoader createAppLoader([string overrideConfigFile=''])
Detect the application loader to use and create it

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

createCacheManager

public CacheManager createCacheManager()
Create the cboxCache provider


createLogBox

public LogBox createLogBox()
Create a running LogBox instance configured using ColdBox's default config


getAppLoader

public AbstractApplicationLoader getAppLoader()
Get the application configuration loader used


loadApplication

Public void loadApplication([string overrideConfigFile=''], [string 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


ColdBox Platform Version 2.6.4