ColdBox Platform Version 2.6.3

coldbox.system.interceptors
Class environmentControl

WEB-INF.cftags.component
        extended by coldbox.system.frameworkSupertype
            extended by coldbox.system.interceptor
                extended by coldbox.system.interceptors.environmentControl

public class environmentControl
extends interceptor

ENVIRONMENT settings interceptor


Method Summary
 void Configure()
          This is the configuration method for your interceptors
 void afterConfigurationLoad(requestContext event, struct interceptData)
          ENVIRONMENT control the settings
private string detectEnvironment(array environmentsArray)
          Detect the running environment and return the name
 string getconfigFile()
private void parseAndSet()
          ENVIRONMENT control the settings
 void setconfigFile(string configFile)
 
Methods inherited from class coldbox.system.interceptor
afterAspectsLoad, afterCacheElementInsert, afterCacheElementRemoved, afterHandlerCreation, afterPluginCreation, appendToBuffer, clearBuffer, getBufferObject, getBufferString, getInterceptorService, getProperty, getproperties, init, onException, postEvent, postProcess, postRender, preEvent, preProcess, preRender, propertyExists, sessionEnd, sessionStart, setProperty, setproperties, unregister
 
Methods inherited from class coldbox.system.frameworkSupertype
abort, announceInterception, dump, getColdboxOCM, getDatasource, getDebugMode, getHash, getInstance, getInterceptor, getMailSettings, getModel, getMyPlugin, getPlugin, getResource, getSetting, getSettingStructure, getSettingsBean, getcontroller, getfwLocale, htmlhead, include, includeUDF, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderView, rethrowit, runEvent, setDebugMode, setNextEvent, setNextRoute, setSetting, setcontroller, settingExists, throw
 
Methods inherited from class WEB-INF.cftags.component
 

Method Detail

Configure

public void Configure()
This is the configuration method for your interceptors

Overrides:
Configure in class interceptor

afterConfigurationLoad

public void afterConfigurationLoad(requestContext event, struct interceptData)
ENVIRONMENT control the settings

Overrides:
afterConfigurationLoad in class interceptor
Parameters:
event - The event object.
interceptData - A structure containing intercepted information. NONE BY DEFAULT HERE

detectEnvironment

private string detectEnvironment(array environmentsArray)
Detect the running environment and return the name

Parameters:
environmentsArray - The environment array

getconfigFile

public string getconfigFile()


parseAndSet

private void parseAndSet()
ENVIRONMENT control the settings


setconfigFile

public void setconfigFile(string configFile)

Parameters:
configFile

ColdBox Platform Version 2.6.3