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


Nested Class Summary
 
Nested classes/interfaces inherited from class railo.runtime.config.ConfigImpl
ConfigImpl.ComponentMetaData
 
Field Summary
 
Fields inherited from class railo.runtime.config.ConfigImpl
AMF_CONFIG_TYPE_MANUAL, AMF_CONFIG_TYPE_XML, CFML_WRITER_REFULAR, CFML_WRITER_WS, CFML_WRITER_WS_PREF, CLIENT_BOOLEAN_FALSE, CLIENT_BOOLEAN_TRUE, DEBUG_DATABASE, DEBUG_EXCEPTION, DEBUG_IMPLICIT_ACCESS, DEBUG_QUERY_USAGE, DEBUG_TIMER, DEBUG_TRACING, INSPECT_UNDEFINED, MODE_CUSTOM, MODE_STRICT, RAILO_EXTENSION_PROVIDERS, SERVER_BOOLEAN_FALSE, SERVER_BOOLEAN_TRUE
 
Fields inherited from interface railo.runtime.config.Config
CACHE_DEFAULT_FUNCTION, CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE, CACHE_DEFAULT_TEMPLATE, CLIENT_SCOPE_TYPE_COOKIE, CLIENT_SCOPE_TYPE_DB, CLIENT_SCOPE_TYPE_FILE, INSPECT_ALWAYS, INSPECT_NEVER, INSPECT_ONCE, RECOMPILE_AFTER_STARTUP, RECOMPILE_ALWAYS, RECOMPILE_NEVER, SCOPE_SMALL, SCOPE_STANDARD, SCOPE_STRICT, SESSION_TYPE_CFML, SESSION_TYPE_J2EE
 
Method Summary
 boolean allowRequestTimeout()
           
 void checkPermGenSpace(boolean check)
          if free permspace gen is lower than 10000000 bytes, railo shrinks all classloaders
 Cluster createClusterScope()
           
 ActionMonitorCollector getActionMonitorCollector()
           
 Map<String,String> getAllLabels()
           
 Mapping getApplicationMapping(String virtual, String physical)
           
 Mapping getApplicationMapping(String virtual, String physical, String archive)
           
 Page getBaseComponentPage(PageContext pc)
           
 CFMLWriter getCFMLWriter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
           
 CFXTagPool getCFXTagPool()
           
 CFMLCompilerImpl getCompiler()
           
 ConfigServer getConfigServer(String password)
           
 Resource getConfigServerDir()
           
 KeyLock<String> getContextLock()
           
 DebuggerPool getDebuggerPool()
           
 boolean getFullNullSupport()
           
 GatewayEngineImpl getGatewayEngine()
           
 LogAndSource getGatewayLogger()
           
 String getHash()
           
 String getInitParameter(String name)
           
 Enumeration getInitParameterNames()
           
 IntervallMonitor getIntervallMonitor(String name)
           
 IntervallMonitor[] getIntervallMonitors()
           
 String getLabel()
           
 LockManager getLockManager()
           
 boolean getLoginCaptcha()
           
 int getLoginDelay()
           
 RequestMonitor getRequestMonitor(String name)
           
 RequestMonitor[] getRequestMonitors()
           
 Resource getRootDirectory()
           
 Resource getSecurityDirectory()
           
 SecurityManager getSecurityManager()
           
 Resource getServerConfigDir()
           
 Mapping getServerFunctionMapping()
           
 String getServerId()
           
 String getServerSecurityKey()
           
 Mapping getServerTagMapping()
           
 javax.servlet.ServletContext getServletContext()
           
 String getServletName()
           
 TagHandlerPool getTagHandlerPool()
           
 ThreadQueueImpl getThreadQueue()
           
 URL getUpdateLocation()
           
 String getUpdateType()
           
 boolean hasIndividualSecurityManager()
           
 boolean hasServerPassword()
           
 boolean isMonitoringEnabled()
           
 void reset()
          reset config
 void resetBaseComponentPage()
           
 void setGatewayEngine(GatewayEngineImpl gatewayEngine)
           
 void setGatewayLogger(LogAndSource gatewayLogger)
           
 void setPassword(boolean server, String passwordOld, String passwordNew)
           
 
Methods inherited from class railo.runtime.config.ConfigImpl
allowCompression, allowImplicidQueryCall, allowRealPath, checkForChangesInConfigFile, clearComponentCache, clearComponentMetadata, clearCTCache, clearFunctionCache, clearResourceProviders, closeConnection, contentLength, createCustomTagAppMappings, createFunction, createTag, debug, debugLogOutput, doComponentDeepSearch, doCustomTagDeepSearch, doLocalCustomTag, flushComponentPathCache, flushCTPathCache, getAdminSync, getAdminSyncClass, getAllMappings, getAllMappings, getAMFCaster, getAMFCasterArguments, getAMFCasterClass, getAMFConfigType, getApplicationListener, getApplicationLogger, getApplicationTimeout, getBaseComponentPageSource, getBaseComponentPageSource, getBaseComponentTemplate, getBufferOutput, getCacheConnections, getCacheDefaultConnection, getCacheDefaultConnectionName, getCacheDir, getCacheDirSize, getCachedPage, getCacheMD5, getCFCExtension, getCFMLExtensions, getCFMLWriterType, getClassLoader, getClassLoader, getClientCluster, getClientScopeDir, getClientScopeDirSize, getClientTimeout, getClientType, getClusterClass, getCombinedFLDs, getCompileType, getComponentDataMemberDefaultAccess, getComponentDefaultImport, getComponentDumpTemplate, getComponentLocalSearch, getComponentMappings, getComponentMetadata, getComponentRootSearch, getCompressInstance, getConfigDir, getConfigFile, getConstants, getCoreTagLib, getCTInitFile, getCustomTagExtensions, getCustomTagMappings, getDataSource, getDataSource, getDatasourceConnectionPool, getDataSources, getDataSourcesAsMap, getDebugEntries, getDebugEntry, getDebugMaxRecordsLogged, getDebugOptions, getDebugTemplate, getDefaultDataSource, getDefaultDumpWriter, getDefaultEncoding, getDefaultResourceProvider, getDeployDirectory, getDeployLogger, getDotNotationUpperCase, getDumpWriter, getDumpWriter, getDumpWritersEntries, getErrorStatusCode, getErrorTemplate, getErrWriter, getExceptionLogger, getExecutionLogEnabled, getExecutionLogFactory, getExtensionDirectory, getExtensionProviders, getExtensions, getFactory, getFldFile, getFLDs, getFromFunctionCache, getFunctionMapping, getId, getId, getInspectTemplate, getLoadTime, getLocale, getLocalMode, getMailDefaultEncoding, getMailLogger, getMailServers, getMailSpoolInterval, getMailTimeout, getMappingLogger, getMappings, getMode, getORMConfig, getORMEngine, getORMEngineClass, getORMLogger, getOutWriter, getPageSource, getPageSourceExisting, getPageSources, getPhysical, getPhysicalResourceExisting, getPhysicalResources, getProxyData, getPSQL, getRemoteClientDirectory, getRemoteClientLog, getRemoteClients, getRemoteClientUsage, getRequestTimeout, getRequestTimeoutLogger, getResource, getResourceCharset, getResourceClassLoader, getResourceProviders, getRestList, getRestLogger, getRestMappings, getRestSetting, getRPCClassLoader, getScheduleLogger, getScheduler, getScopeCascadingType, getScopeLogger, getScriptProtect, getSearchEngine, getSecurityKey, getSecurityToken, getSerialNumber, getSessionCluster, getSessionScopeDir, getSessionScopeDirSize, getSessionTimeout, getSessionType, getSpoolerEngine, getSupressWSBeforeArg, getTagDirectory, getTagMapping, getTempDirectory, getTemplateCharset, getThreadLogger, getTimeServer, getTimeServerOffset, getTimeZone, getTldFile, getTLDs, getTraceLogger, getTriggerComponentDataMember, getUseTimeServer, getVersion, getVideoDirectory, getVideoExecuterClass, getWebCharset, hasDebugOptions, hasPassword, intDebug, intDebugLogOutput, isAllowURLRequestTimeout, isClientCookies, isClientManagement, isDomainCookies, isExtensionEnabled, isMailSpoolEnable, isProxyEnableFor, isSessionManagement, isShowVersion, isSuppressContent, isSuppressWhitespace, lastModified, listComponentCache, listCTCache, mergeFormAndURL, passwordEqual, putCachedPageSource, putComponentMetadata, putCTInitFile, putToFunctionCache, reloadTimeServerOffset, resetORMEngine, resetRPCClassLoader, setAllowURLRequestTimeout, setAMFCaster, setAMFCaster, setAMFConfigType, setAMFConfigType, 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, getCacheConnections, getCacheDefaultConnection, getCacheDefaultConnectionName, getCacheDir, getCacheDirSize, getCFCExtension, getCFMLExtensions, getClassLoader, getClassLoader, getClientCluster, getClientScopeDir, getClientScopeDirSize, getClientTimeout, getClientType, getClusterClass, getCompileType, getComponentDataMemberDefaultAccess, getComponentDumpTemplate, getComponentMappings, getConfigDir, getConfigFile, getConstants, getCustomTagExtensions, getCustomTagMappings, getDataSource, getDataSource, getDataSources, getDataSourcesAsMap, getDebugTemplate, getDefaultDataSource, getDefaultDumpWriter, getDefaultEncoding, getDefaultResourceProvider, getDeployDirectory, getDumpWriter, getDumpWriter, getErrorStatusCode, getErrorTemplate, getErrWriter, getExceptionLogger, getExtensionDirectory, getExtensionProviders, getExtensions, getFactory, getFldFile, getId, getInspectTemplate, getLoadTime, getLocale, getLocalMode, getMailDefaultEncoding, getMailLogger, getMailServers, getMailSpoolInterval, getMailTimeout, getMappings, getOutWriter, getPageSource, getPageSourceExisting, getPageSources, getPhysical, getPhysicalResourceExisting, getPhysicalResources, getProxyData, getPSQL, getRemoteClientDirectory, getRemoteClientLog, getRemoteClients, getRemoteClientUsage, getRequestTimeout, getRequestTimeoutLogger, getResource, getResourceCharset, getResourceProviders, getRestSetting, getRPCClassLoader, getScheduleLogger, getScheduler, getScopeCascadingType, getScriptProtect, getSearchEngine, getSessionCluster, getSessionTimeout, getSessionType, getSpoolerEngine, getTempDirectory, getTemplateCharset, getTimeServer, getTimeServerOffset, getTimeZone, getTldFile, getTraceLogger, getTriggerComponentDataMember, getVersion, getVideoDirectory, getVideoExecuterClass, getWebCharset, hasPassword, 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

getServletName

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

getServletContext

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

getInitParameter

public String getInitParameter(String name)
Specified by:
getInitParameter in interface javax.servlet.ServletConfig

getInitParameterNames

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

getConfigServer

public ConfigServer getConfigServer(String password)
                             throws ExpressionException
Specified by:
getConfigServer in interface Config
Returns:
ConfigServer
Throws:
ExpressionException

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 configLogger. / public Log getConfigLogger() { return configLogger; }
Throws:
SecurityException

getRootDirectory

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

getUpdateType

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

getUpdateLocation

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

getLockManager

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

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)

getApplicationMapping

public Mapping getApplicationMapping(String virtual,
                                     String physical,
                                     String archive)

getLabel

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

getHash

public String getHash()

getContextLock

public KeyLock<String> getContextLock()

getGatewayEngine

public GatewayEngineImpl getGatewayEngine()

setGatewayEngine

public void setGatewayEngine(GatewayEngineImpl gatewayEngine)

getGatewayLogger

public LogAndSource getGatewayLogger()

setGatewayLogger

public void setGatewayLogger(LogAndSource gatewayLogger)

getTagHandlerPool

public TagHandlerPool getTagHandlerPool()

getDebuggerPool

public DebuggerPool getDebuggerPool()

getThreadQueue

public ThreadQueueImpl getThreadQueue()
Specified by:
getThreadQueue in interface Config

getLoginDelay

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

getLoginCaptcha

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

getSecurityDirectory

public Resource getSecurityDirectory()
Specified by:
getSecurityDirectory in interface Config

isMonitoringEnabled

public boolean isMonitoringEnabled()
Specified by:
isMonitoringEnabled in interface Config

getRequestMonitors

public RequestMonitor[] getRequestMonitors()
Specified by:
getRequestMonitors in interface Config

getRequestMonitor

public RequestMonitor getRequestMonitor(String name)
                                 throws PageException
Specified by:
getRequestMonitor in interface Config
Throws:
PageException

getIntervallMonitors

public IntervallMonitor[] getIntervallMonitors()
Specified by:
getIntervallMonitors in interface Config

getIntervallMonitor

public IntervallMonitor getIntervallMonitor(String name)
                                     throws PageException
Specified by:
getIntervallMonitor in interface Config
Throws:
PageException

checkPermGenSpace

public void checkPermGenSpace(boolean check)
Description copied from interface: Config
if free permspace gen is lower than 10000000 bytes, railo shrinks all classloaders

Specified by:
checkPermGenSpace in interface Config

createClusterScope

public Cluster createClusterScope()
                           throws PageException
Specified by:
createClusterScope in class ConfigImpl
Throws:
PageException

hasServerPassword

public boolean hasServerPassword()
Specified by:
hasServerPassword in interface Config
Returns:
return if a password is set

setPassword

public void setPassword(boolean server,
                        String passwordOld,
                        String passwordNew)
                 throws PageException,
                        SAXException,
                        ClassException,
                        IOException,
                        TagLibException,
                        FunctionLibException
Throws:
PageException
SAXException
ClassException
IOException
TagLibException
FunctionLibException

getConfigServerDir

public Resource getConfigServerDir()
Specified by:
getConfigServerDir in interface ConfigWeb

getAllLabels

public Map<String,String> getAllLabels()

allowRequestTimeout

public boolean allowRequestTimeout()
Specified by:
allowRequestTimeout in interface Config

getCFMLWriter

public CFMLWriter getCFMLWriter(javax.servlet.http.HttpServletRequest req,
                                javax.servlet.http.HttpServletResponse rsp)

getActionMonitorCollector

public ActionMonitorCollector getActionMonitorCollector()

getFullNullSupport

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

hasIndividualSecurityManager

public boolean hasIndividualSecurityManager()


Copyright © 2012 Railo