railo.runtime.config
Class ConfigWebImpl

java.lang.Object
  extended by railo.runtime.config.ConfigImpl
      extended by railo.runtime.config.ConfigWebImpl
All Implemented Interfaces:
javax.servlet.ServletConfig, Config, ConfigWeb

public final class ConfigWebImpl
extends ConfigImpl
implements javax.servlet.ServletConfig, ConfigWeb

Web Context


Field Summary
 
Fields inherited from class railo.runtime.config.ConfigImpl
AMF_CONFIG_TYPE_MANUAL, AMF_CONFIG_TYPE_XML, CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE, CACHE_DEFAULT_TEMPLATE, CLIENT_BOOLEAN_FALSE, CLIENT_BOOLEAN_TRUE, INSPECT_ALWAYS, INSPECT_NEVER, INSPECT_ONCE, RAILO_EXTENSION_PROVIDERS, SERVER_BOOLEAN_FALSE, SERVER_BOOLEAN_TRUE
 
Fields inherited from interface railo.runtime.config.Config
CLIENT_SCOPE_TYPE_COOKIE, CLIENT_SCOPE_TYPE_DB, CLIENT_SCOPE_TYPE_FILE, RECOMPILE_AFTER_STARTUP, RECOMPILE_ALWAYS, RECOMPILE_NEVER, SCOPE_SMALL, SCOPE_STANDARD, SCOPE_STRICT, SESSION_TYPE_CFML, SESSION_TYPE_J2EE
 
Method Summary
 boolean allowRequestTimeout()
           
 Mapping getApplicationMapping(String virtual, String physical)
           
 Page getBaseComponentPage(PageContext pc)
           
 CFXTagPool getCFXTagPool()
           
 CFMLCompilerImpl getCompiler()
           
 ConfigServer getConfigServer()
           
 ConfigServer getConfigServer(String password)
           
 Resource getConfigServerDir()
           
 KeyLock<String> getContextLock()
           
 GatewayEngineImpl getGatewayEngine()
           
 LogAndSource getGatewayLogger()
           
 String getHash()
           
 String getInitParameter(String name)
           
 Enumeration getInitParameterNames()
           
 String getLabel()
           
 LockManager getLockManager()
           
 boolean getLoginCaptcha()
           
 int getLoginDelay()
           
 RequestMonitor[] getRequestMonitors()
           
 Resource getRootDirectory()
           
 SecurityManager getSecurityManager()
           
 Resource getServerConfigDir()
           
 Mapping getServerFunctionMapping()
           
 String getServerId()
           
 String getServerSecurityKey()
           
 Mapping getServerTagMapping()
           
 javax.servlet.ServletContext getServletContext()
           
 String getServletName()
           
 TagHandlerPool getTagHandlerPool()
           
 URL getUpdateLocation()
           
 String getUpdateType()
           
 boolean isMonitoringEnabled()
           
 void reset()
          reset config
 void resetBaseComponentPage()
           
 void setGatewayEngine(GatewayEngineImpl gatewayEngine)
           
 void setGatewayLogger(LogAndSource gatewayLogger)
           
 
Methods inherited from class railo.runtime.config.ConfigImpl
allowCompression, allowImplicidQueryCall, allowRealPath, clearComponentCache, clearCTCache, clearFunctionCache, clearResourceProviders, closeConnection, contentLength, createCustomTagAppMappings, createFunction, createTag, debug, doComponentDeepSearch, doCustomTagDeepSearch, doLocalCustomTag, flushComponentPathCache, flushCTPathCache, getAdminSync, getAdminSyncClass, getAMFCaster, getAMFCasterArguments, getAMFCasterClass, getAMFConfigType, getApplicationListener, getApplicationLogger, getApplicationTimeout, getBaseComponentPageSource, getBaseComponentPageSource, getBaseComponentTemplate, getCacheConnections, getCacheDefaultConnection, getCacheDefaultConnectionName, getCacheDir, getCacheDirSize, getCachedPage, getCacheMD5, getCFCExtension, getCFMLExtensions, getClassLoader, getClassLoader, getClientCluster, getClientScopeDir, getClientScopeDirSize, getClientTimeout, getClientType, getClusterClass, getCombinedFLDs, getCompileType, getComponentDataMemberDefaultAccess, getComponentDefaultImport, getComponentDumpTemplate, getComponentLocalSearch, getComponentMapping, getComponentMappings, getComponentRootSearch, getCompressInstance, getConfigDir, getConfigFile, getConstants, getCoreTagLib, getCTInitFile, getCustomTagExtensions, getCustomTagMappings, getDataSource, getDataSource, getDatasourceConnectionPool, getDataSources, getDataSourcesAsMap, getDebugShowQueryUsage, getDebugTemplate, getDefaultDataSource, getDefaultDumpWriter, getDefaultDumpWriter, getDefaultEncoding, getDefaultResourceProvider, getDeployDirectory, getDumpWriter, getDumpWriter, getDumpWritersEntries, getErrorStatusCode, getErrorTemplate, getErrorTemplate, getErrWriter, getExceptionLogger, getExecutionLogEnabled, getExecutionLogFactory, getExtensionDirectory, getExtensionProviders, getExtensions, getFactory, getFldFile, getFLDs, getFromFunctionCache, getFunctionMapping, getId, getId, getInspectTemplate, getInstalledPatches, getLoadTime, getLocale, getLocalMode, getMailDefaultEncoding, getMailLogger, getMailServers, getMailSpoolInterval, getMailTimeout, getMappingLogger, getMappings, getORMConfig, getORMEngine, getORMEngineClass, getORMLogger, getOutWriter, getPageSource, getPageSourceExisting, getPageSources, getPhysical, getPhysicalResourceExisting, getPhysicalResources, getProxyPassword, getProxyPort, getProxyServer, getProxyUsername, getPSQL, getRemoteClientDirectory, getRemoteClientLog, getRemoteClients, getRemoteClientUsage, getRequestTimeout, getRequestTimeoutLogger, getResource, getResourceCharset, getResourceProviders, getRPCClassLoader, getScheduleLogger, getScheduler, getScopeCascadingType, getScopeLogger, getScriptProtect, getSearchEngine, getSecurityKey, getSecurityToken, getSerialNumber, getSessionCluster, getSessionScopeDir, getSessionScopeDirSize, getSessionTimeout, getSessionType, getSpoolerEngine, getTagDirectory, getTagMapping, getTempDirectory, getTemplateCharset, getThreadLogger, getTimeServer, getTimeServerOffset, getTimeZone, getTldFile, getTLDs, getTraceLogger, getTriggerComponentDataMember, getUseTimeServer, getVersion, getVideoDirectory, getVideoExecuterClass, getWebCharset, hasPassword, hasServerPassword, intDebug, isAllowURLRequestTimeout, isClientCookies, isClientManagement, isDomainCookies, isExtensionEnabled, isMailSpoolEnable, isProxyEnableFor, isSessionManagement, isShowVersion, isSuppressContent, isSuppressWhitespace, listComponentCache, listCTCache, mergeFormAndURL, passwordEqual, putCachedPageSource, putCTInitFile, putToFunctionCache, reloadTimeServerOffset, resetORMEngine, resetRPCClassLoader, setAllowURLRequestTimeout, setAMFCaster, setAMFCaster, setAMFConfigType, setAMFConfigType, setCacheDefaultConnectionName, setCacheMD5, setThreadLogger, toPageSource, useComponentPathCache, useComponentShadow, useCTPathCache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.runtime.config.ConfigWeb
isAllowURLRequestTimeout
 
Methods inherited from interface railo.runtime.config.Config
allowImplicidQueryCall, allowRealPath, debug, doCustomTagDeepSearch, doLocalCustomTag, getAdminSyncClass, getApplicationListener, getApplicationLogger, getApplicationTimeout, getBaseComponentPageSource, getBaseComponentTemplate, getCacheDir, getCacheDirSize, getCFCExtension, getCFMLExtensions, getClassLoader, getClientScopeDir, getClientScopeDirSize, getClientType, getClusterClass, getCompileType, getComponentDataMemberDefaultAccess, getComponentDumpTemplate, getComponentMapping, getConfigDir, getConfigFile, getConstants, getCustomTagExtensions, getCustomTagMappings, getDataSource, getDataSources, getDataSourcesAsMap, getDebugTemplate, getDefaultDumpWriter, getDefaultDumpWriter, getDefaultEncoding, getDefaultResourceProvider, getDeployDirectory, getDumpWriter, getDumpWriter, getErrorStatusCode, getErrorTemplate, getErrorTemplate, getErrWriter, getExceptionLogger, getExtensionDirectory, getExtensionProviders, getExtensions, getFactory, getFldFile, getId, getLoadTime, getLocale, getLocalMode, getMailDefaultEncoding, getMailLogger, getMailServers, getMailSpoolInterval, getMailTimeout, getMappings, getOutWriter, getPageSource, getPhysical, getProxyPassword, getProxyPort, getProxyServer, getProxyUsername, getPSQL, getRemoteClientDirectory, getRemoteClientLog, getRemoteClients, getRemoteClientUsage, getRequestTimeout, getRequestTimeoutLogger, getResource, getResourceCharset, getResourceProviders, getRPCClassLoader, getScheduleLogger, getScheduler, getScopeCascadingType, getScriptProtect, getSearchEngine, getSessionTimeout, getSessionType, getSpoolerEngine, getTempDirectory, getTemplateCharset, getTimeServer, getTimeServerOffset, getTimeZone, getTldFile, getTraceLogger, getTriggerComponentDataMember, getVersion, getVideoDirectory, getVideoExecuterClass, getWebCharset, hasPassword, hasServerPassword, isClientCookies, isClientManagement, isDomainCookies, isExtensionEnabled, isMailSpoolEnable, isProxyEnableFor, isSessionManagement, isShowVersion, isSuppressWhitespace, mergeFormAndURL, passwordEqual, reloadTimeServerOffset, useComponentShadow
 

Method Detail

reset

public void reset()
Description copied from interface: Config
reset config

Specified by:
reset in interface Config
Overrides:
reset in class ConfigImpl
See Also:
Config.reset()

getServletName

public String getServletName()
Specified by:
getServletName in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getServletName()

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getServletContext()

getInitParameter

public String getInitParameter(String name)
Specified by:
getInitParameter in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getInitParameter(java.lang.String)

getInitParameterNames

public Enumeration getInitParameterNames()
Specified by:
getInitParameterNames in interface javax.servlet.ServletConfig
See Also:
ServletConfig.getInitParameterNames()

getConfigServer

public ConfigServer getConfigServer()
Specified by:
getConfigServer in interface Config
Returns:

getConfigServer

public ConfigServer getConfigServer(String password)
                             throws ExpressionException
Specified by:
getConfigServer in interface Config
Returns:
ConfigServer
Throws:
ExpressionException
See Also:
Config.getConfigServer(java.lang.String)

getServerId

public String getServerId()
Specified by:
getServerId in interface ConfigWeb

getServerSecurityKey

public String getServerSecurityKey()

getServerConfigDir

public Resource getServerConfigDir()

getSecurityManager

public SecurityManager getSecurityManager()
Specified by:
getSecurityManager in interface Config
Overrides:
getSecurityManager in class ConfigImpl
Returns:
Returns the accessor.

getCFXTagPool

public CFXTagPool getCFXTagPool()
                         throws SecurityException
Specified by:
getCFXTagPool in interface Config
Overrides:
getCFXTagPool in class ConfigImpl
Returns:
Returns the cfxTagPool.
Throws:
SecurityException
See Also:
ConfigImpl.getCFXTagPool()

getRootDirectory

public Resource getRootDirectory()
Specified by:
getRootDirectory in interface Config
Specified by:
getRootDirectory in class ConfigImpl
Returns:
Returns the rootDir.
See Also:
Config.getRootDirectory()

getUpdateType

public String getUpdateType()
Specified by:
getUpdateType in interface Config
Specified by:
getUpdateType in class ConfigImpl
Returns:
returns update type (auto or manual)
See Also:
Config.getUpdateType()

getUpdateLocation

public URL getUpdateLocation()
Specified by:
getUpdateLocation in interface Config
Specified by:
getUpdateLocation in class ConfigImpl
Returns:
returns URL for update
See Also:
Config.getUpdateLocation()

getLockManager

public LockManager getLockManager()
Specified by:
getLockManager in interface ConfigWeb
Returns:
lockmanager
See Also:
ConfigWeb.getLockManager()

getCompiler

public CFMLCompilerImpl getCompiler()
Returns:
the compiler

getBaseComponentPage

public Page getBaseComponentPage(PageContext pc)
                          throws PageException
Throws:
PageException

resetBaseComponentPage

public void resetBaseComponentPage()

getServerTagMapping

public Mapping getServerTagMapping()

getServerFunctionMapping

public Mapping getServerFunctionMapping()

getApplicationMapping

public Mapping getApplicationMapping(String virtual,
                                     String physical)

getLabel

public String getLabel()

getHash

public String getHash()

getContextLock

public KeyLock<String> getContextLock()

getGatewayEngine

public GatewayEngineImpl getGatewayEngine()

setGatewayEngine

public void setGatewayEngine(GatewayEngineImpl gatewayEngine)

getGatewayLogger

public LogAndSource getGatewayLogger()
See Also:
Config.getMailLogger()

setGatewayLogger

public void setGatewayLogger(LogAndSource gatewayLogger)

getTagHandlerPool

public TagHandlerPool getTagHandlerPool()

getLoginDelay

public int getLoginDelay()
Specified by:
getLoginDelay in class ConfigImpl

getLoginCaptcha

public boolean getLoginCaptcha()
Specified by:
getLoginCaptcha in class ConfigImpl

allowRequestTimeout

public boolean allowRequestTimeout()

getConfigServerDir

public Resource getConfigServerDir()
Specified by:
getConfigServerDir in class ConfigImpl

isMonitoringEnabled

public boolean isMonitoringEnabled()
Specified by:
isMonitoringEnabled in class ConfigImpl

getRequestMonitors

public RequestMonitor[] getRequestMonitors()
Specified by:
getRequestMonitors in class ConfigImpl


Copyright © 2012 Railo