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

coldbox.system.web.services
Class LoaderService

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

public class LoaderService
extends BaseService

The application and framework loader service


Constructor Summary
init(any controller)
          Constructor
 
Method Summary
private any<AbstractApplicationLoader> createAppLoader([any overrideConfigFile=''])
          Detect the application loader to use and create it
 CacheFactory createCacheBox()
          Create the application's CacheBox instance
 void createCacheContainer()
          Create the cache container
 any createCacheManager()
          Create the compatibility caching engine
 LogBox createDefaultLogBox()
          Create a running LogBox instance configured using ColdBox's default config
 void createWireBox()
          Create WireBox DI Framework with config settings
 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, 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 any<AbstractApplicationLoader> createAppLoader([any 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.

createCacheBox

public CacheFactory createCacheBox()
Create the application's CacheBox instance


createCacheContainer

public void createCacheContainer()
Create the cache container


createCacheManager

public any createCacheManager()
Create the compatibility caching engine


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 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


ColdBox Platform Version 3.1.0