This is the ColdBox Front Controller that dispatches events and manages your ColdBox application.
|
Method Summary |
string |
getAppHash()
Get AppHash
|
string |
getAppRootPath()
Get this application's physical path
|
boolean |
getAppStartHandlerFired()
Get AppStartHandlerFired
|
boolean |
getAspectsInitiated()
Get AspectsInitiated
|
CFMLEngine |
getCFMLEngine()
Get the CFMLEngine utility class
|
boolean |
getColdboxInitiated()
Get ColdboxInitiated
|
any |
getColdboxOCM()
Get ColdboxOCM: coldbox
|
struct |
getColdboxSettings()
I retrieve the ColdBox Settings Structure by Reference
|
struct |
getConfigSettings()
I retrieve the Config Settings Structure by Reference
|
any |
getDebuggerService()
Get DebuggerService: coldbox
|
any |
getExceptionService()
Get ExceptionService: coldbox
|
any |
getHandlerService()
Get HandlerService: coldbox
|
any |
getInterceptorService()
Get interceptorService: coldbox
|
any |
getLoaderService()
Get LoaderService: coldbox
|
LogBox |
getLogBox()
Get the application's LogBox instance
|
Logger |
getLogger()
The coldbox controller logger
|
any |
getModuleService()
Get ModuleService: coldbox
|
any |
getPlugin(any plugin, [boolean customPlugin='false'], [boolean newInstance='false'], [any module=''], [boolean init='true'])
I am the Plugin cfc object factory
|
any |
getPluginService()
Get PluginService: coldbox
|
any |
getRequestService()
Get RequestService: coldbox
|
any |
getService(string service)
DEPRECATED: Internal ColdBox Transient Minimalistic Service Locator
|
struct |
getServices()
Get all the registered services
|
any |
getSetting([string name], [boolean FWSetting='false'])
I get a setting from the FW Config structures
|
struct |
getSettingStructure([boolean FWSetting='false'], [boolean DeepCopyFlag='false'])
Compatability & Utility Method
|
private Util |
getUtil()
Create and return a util object
|
private any |
invoker(any target, any method, [any argCollection='[runtime expression]'], [boolean private='false'])
Method Invoker
|
void |
persistVariables([string persist=''], [struct persistStruct])
@deprecated DO NOT USE ANYMORE
|
private void |
pushTimers()
Push timers into stack
|
any |
runEvent([any event=''], [boolean prepostExempt='false'], [boolean private='false'], [boolean default='false'])
I am an event handler runnable factory
|
private void |
sendRelocation(string url, [boolean addtoken='false'], [numeric statusCode='0'])
Send a CF relocation via ColdBox
|
void |
setAppHash(string AppHash)
Set AppHash
|
void |
setAppRootPath(string appRootPath)
Set this application's physical path
|
void |
setAppStartHandlerFired(boolean AppStartHandlerFired)
Set AppStartHandlerFired
|
void |
setAspectsInitiated(boolean AspectsInitiated)
Set AspectsInitiated
|
void |
setColdboxInitiated(boolean ColdboxInitiated)
Set ColdboxInitiated
|
void |
setColdboxOCM(any ColdboxOCM)
Set ColdboxOCM
|
void |
setColdboxSettings(struct ColdboxSettings)
Set ColdboxSettings
|
void |
setConfigSettings(struct ConfigSettings)
Set ConfigSettings
|
void |
setDebuggerService(any DebuggerService)
Set DebuggerService
|
void |
setHandlerService(any HandlerService)
Set HandlerService
|
void |
setInterceptorService(any interceptorService)
Set interceptorService
|
void |
setLoaderService(any LoaderService)
Set LoaderService
|
void |
setLogBox(LogBox logBox='')
Set the logBox instance
|
void |
setLogger(Logger logger)
Set the coldbox controller logger
|
void |
setModuleService(any ModuleService)
Set ModuleService
|
void |
setNextEvent([string event='[runtime expression]'], [string queryString=''], [boolean addToken='false'], [string persist=''], [struct persistStruct='[runtime expression]'], [boolean ssl='false'], [string baseURL=''], [boolean postProcessExempt='false'], [string URL], [string URI], [numeric statusCode='0'])
I Set the next event to run and relocate the browser to that event
|
void |
setPluginService(Any PluginService)
Set PluginService
|
void |
setRequestService(any RequestService)
Set RequestService
|
void |
setSetting([string name], [any value])
I set a Global Coldbox setting variable in the configstruct, if it exists it will be overrided
|
boolean |
settingExists([string name], [boolean FWSetting='false'])
I Check if a value exists in the configstruct or the fwsettingsStruct
|
private void |
throwInvalidHTTP(string description)
Throw an invalid HTTP exception
|
private boolean |
validateAction(string action='', [string inclusion=''], [string exclusion=''])
Checks if an action can be executed according to inclusion/exclusion lists
|