lucee.Component coldbox.system.Bootstrap
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- Loads the framwork into memory and provides a ColdBox application.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
appHash
|
true
|
false
|
|
any
|
COLDBOX_APP_KEY
|
true
|
false
|
|
any
|
COLDBOX_APP_MAPPING
|
true
|
false
|
|
any
|
COLDBOX_APP_ROOT_PATH
|
true
|
false
|
|
any
|
COLDBOX_CONFIG_FILE
CONSTRUCTOR ********************************************.
|
true
|
false
|
|
any
|
lockTimeout
|
true
|
false
|
Constructor Summary | |
---|---|
init(string COLDBOX_CONFIG_FILE, string COLDBOX_APP_ROOT_PATH, [string COLDBOX_APP_KEY], [string COLDBOX_APP_MAPPING=''])
Constructor, called by your Application CFC. |
Method Summary | |
---|---|
string
|
getAppHash()
|
string
|
getCOLDBOX_APP_KEY()
|
string
|
getCOLDBOX_APP_MAPPING()
|
string
|
getCOLDBOX_APP_ROOT_PATH()
|
string
|
getCOLDBOX_CONFIG_FILE()
|
string
|
getLockTimeout()
|
private any
|
getPageContextResponse()
Helper method to deal with ACF2016's overload of the page context response, come on Adobe, get your act together!. |
boolean
|
isFWReinit()
Verify if a reinit is sent. |
any
|
loadColdBox()
Loads the framework into application scope and executes app start procedures. |
private any
|
locateAppKey()
Locate the application key. |
any
|
onApplicationEnd([struct appScope])
ON applicaiton end. |
boolean
|
onApplicationStart()
ON application start. |
boolean
|
onMissingTemplate(any template)
ON missing template. |
boolean
|
onRequestStart(any targetPage)
On request start. |
any
|
onSessionEnd(struct sessionScope, [struct appScope])
ON session end. |
any
|
onSessionStart()
ON session start. |
any
|
processColdBoxRequest()
Process a ColdBox Request. |
private string
|
processException(any controller, any exception)
Process an exception and returns a rendered bug report. |
private any
|
processStackTrace([any str])
Process Stack trace for errors. |
any
|
reloadChecks()
Request Reload procedures. |
private Bootstrap
|
renderDataSetup(any controller, any statusCode, any statusText, any contentType, any encoding)
Process render data setup. |
any
|
setAppHash(any appHash)
|
any
|
setCOLDBOX_APP_KEY(any COLDBOX_APP_KEY)
|
any
|
setCOLDBOX_APP_MAPPING(any COLDBOX_APP_MAPPING)
|
any
|
setCOLDBOX_APP_ROOT_PATH(any COLDBOX_APP_ROOT_PATH)
|
any
|
setCOLDBOX_CONFIG_FILE(any COLDBOX_CONFIG_FILE)
|
any
|
setLockTimeout(any lockTimeout)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor, called by your Application CFC
COLDBOX_CONFIG_FILE
- The override location of the config fileCOLDBOX_APP_ROOT_PATH
- The location of the app on diskCOLDBOX_APP_KEY
- The key used in application scope for this applicationCOLDBOX_APP_MAPPING
- The application mapping override, only used for Flex/SOAP apps, this is auto-calculatedProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueCONSTRUCTOR ********************************************
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Helper method to deal with ACF2016's overload of the page context response, come on Adobe, get your act together!
Verify if a reinit is sent
Loads the framework into application scope and executes app start procedures
Locate the application key
ON applicaiton end
appScope
ON application start
ON missing template
template
On request start
targetPage
ON session end
sessionScope
appScope
ON session start
Process a ColdBox Request
Process an exception and returns a rendered bug report
controller
- The ColdBox Controllerexception
- The ColdFusion exceptionProcess Stack trace for errors
str
Request Reload procedures
Process render data setup
controller
- The ColdBox controllerstatusCode
- The status code to sendstatusText
- The status text to sendcontentType
- The content type to sendencoding
- The content encodingappHash
COLDBOX_APP_KEY
COLDBOX_APP_MAPPING
COLDBOX_APP_ROOT_PATH
COLDBOX_CONFIG_FILE
lockTimeout