|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.config.ConfigImpl
public abstract class ConfigImpl
Hold the definitions of the railo configuration.
Nested Class Summary | |
---|---|
static class |
ConfigImpl.ComponentMetaData
|
Field Summary | |
---|---|
static int |
AMF_CONFIG_TYPE_MANUAL
|
static int |
AMF_CONFIG_TYPE_XML
|
static int |
CFML_WRITER_REFULAR
|
static int |
CFML_WRITER_WS
|
static int |
CFML_WRITER_WS_PREF
|
static int |
CLIENT_BOOLEAN_FALSE
|
static int |
CLIENT_BOOLEAN_TRUE
|
static int |
DEBUG_DATABASE
|
static int |
DEBUG_EXCEPTION
|
static int |
DEBUG_IMPLICIT_ACCESS
|
static int |
DEBUG_QUERY_USAGE
|
static int |
DEBUG_TIMER
|
static int |
DEBUG_TRACING
|
static short |
INSPECT_UNDEFINED
|
static int |
MODE_CUSTOM
|
static int |
MODE_STRICT
|
static ExtensionProvider[] |
RAILO_EXTENSION_PROVIDERS
|
static int |
SERVER_BOOLEAN_FALSE
|
static int |
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 |
Constructor Summary | |
---|---|
ConfigImpl(CFMLFactory factory,
Resource configDir,
Resource configFile,
TagLib[] tlds,
FunctionLib[] flds)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface railo.runtime.config.Config |
---|
allowRequestTimeout, checkPermGenSpace, getConfigServer, getIntervallMonitor, getIntervallMonitors, getRequestMonitor, getRequestMonitors, getSecurityDirectory, getThreadQueue, hasServerPassword, isMonitoringEnabled |
Field Detail |
---|
public static final short INSPECT_UNDEFINED
public static final int CLIENT_BOOLEAN_TRUE
public static final int CLIENT_BOOLEAN_FALSE
public static final int SERVER_BOOLEAN_TRUE
public static final int SERVER_BOOLEAN_FALSE
public static final int DEBUG_DATABASE
public static final int DEBUG_EXCEPTION
public static final int DEBUG_TRACING
public static final int DEBUG_TIMER
public static final int DEBUG_IMPLICIT_ACCESS
public static final int DEBUG_QUERY_USAGE
public static final ExtensionProvider[] RAILO_EXTENSION_PROVIDERS
public static final int AMF_CONFIG_TYPE_XML
public static final int AMF_CONFIG_TYPE_MANUAL
public static final int MODE_CUSTOM
public static final int MODE_STRICT
public static final int CFML_WRITER_REFULAR
public static final int CFML_WRITER_WS
public static final int CFML_WRITER_WS_PREF
Constructor Detail |
---|
public ConfigImpl(CFMLFactory factory, Resource configDir, Resource configFile, TagLib[] tlds, FunctionLib[] flds)
Method Detail |
---|
public boolean isAllowURLRequestTimeout()
public void setAllowURLRequestTimeout(boolean allowURLRequestTimeout)
allowURLRequestTimeout
- the allowURLRequestTimeout to setpublic short getCompileType()
Config
getCompileType
in interface Config
public void reset()
Config
reset
in interface Config
public void reloadTimeServerOffset()
Config
reloadTimeServerOffset
in interface Config
public long lastModified()
public short getScopeCascadingType()
Config
getScopeCascadingType
in interface Config
public String[] getCFMLExtensions()
Config
getCFMLExtensions
in interface Config
public String getCFCExtension()
getCFCExtension
in interface Config
public FunctionLib[] getFLDs()
public FunctionLib getCombinedFLDs()
public TagLib[] getTLDs()
public boolean allowImplicidQueryCall()
Config
allowImplicidQueryCall
in interface Config
public boolean mergeFormAndURL()
Config
mergeFormAndURL
in interface Config
public TimeSpan getApplicationTimeout()
getApplicationTimeout
in interface Config
public TimeSpan getSessionTimeout()
getSessionTimeout
in interface Config
public TimeSpan getClientTimeout()
getClientTimeout
in interface Config
public TimeSpan getRequestTimeout()
getRequestTimeout
in interface Config
public boolean isClientCookies()
isClientCookies
in interface Config
public boolean isClientManagement()
isClientManagement
in interface Config
public boolean isDomainCookies()
isDomainCookies
in interface Config
public boolean isSessionManagement()
isSessionManagement
in interface Config
public boolean isMailSpoolEnable()
isMailSpoolEnable
in interface Config
public Server[] getMailServers()
getMailServers
in interface Config
public int getMailTimeout()
getMailTimeout
in interface Config
public boolean getPSQL()
getPSQL
in interface Config
public ClassLoader getClassLoader()
getClassLoader
in interface Config
public ResourceClassLoader getResourceClassLoader()
public ClassLoader getClassLoader(Resource[] reses) throws IOException
getClassLoader
in interface Config
IOException
public Locale getLocale()
getLocale
in interface Config
public boolean debug()
Config
debug
in interface Config
public boolean debugLogOutput()
public int intDebug()
public int intDebugLogOutput()
public Resource getTempDirectory()
Config
getTempDirectory
in interface Config
public int getMailSpoolInterval()
getMailSpoolInterval
in interface Config
public LogAndSource getMailLogger()
getMailLogger
in interface Config
public LogAndSource getRestLogger()
public LogAndSource getThreadLogger()
public void setThreadLogger(LogAndSource threadLogger)
public LogAndSource getRequestTimeoutLogger()
getRequestTimeoutLogger
in interface Config
public TimeZone getTimeZone()
getTimeZone
in interface Config
public long getTimeServerOffset()
getTimeServerOffset
in interface Config
public SearchEngine getSearchEngine()
getSearchEngine
in interface Config
public Scheduler getScheduler()
getScheduler
in interface Config
public boolean hasPassword()
hasPassword
in interface Config
public boolean passwordEqual(String password)
passwordEqual
in interface Config
public Mapping[] getMappings()
getMappings
in interface Config
public Mapping[] getRestMappings()
public PageSource getPageSource(Mapping[] mappings, String realPath, boolean onlyTopLevel)
Config
getPageSource
in interface Config
mappings
- per application mappingsrealPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingspublic PageSource getPageSourceExisting(PageContext pc, Mapping[] mappings, String realPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping, boolean onlyPhysicalExisting)
Config
getPageSourceExisting
in interface Config
pc
- current PageContextmappings
- per application mappingsrealPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingsuseSpecialMappings
- invoke special mappings like "mapping-tag" or "mapping-customtag"useDefaultMapping
- also invoke the always existing default mapping "/"public PageSource[] getPageSources(PageContext pc, Mapping[] mappings, String realPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
Config
getPageSources
in interface Config
pc
- current PageContextmappings
- per application mappingsrealPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingsuseSpecialMappings
- invoke special mappings like "mapping-tag" or "mapping-customtag"useDefaultMapping
- also invoke the always existing default mapping "/"public Resource getPhysical(Mapping[] mappings, String realPath, boolean alsoDefaultMapping)
Config
getPhysical
in interface Config
mappings2
- realPath
- alsoDefaultMapping
- ignore default mapping (/) or not
public Resource[] getPhysicalResources(PageContext pc, Mapping[] mappings, String realPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
Config
getPhysicalResources
in interface Config
pc
- current PageContextmappings
- per application mappingsrealPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingsuseSpecialMappings
- invoke special mappings like "mapping-tag" or "mapping-customtag"useDefaultMapping
- also invoke the always existing default mapping "/"public Resource getPhysicalResourceExisting(PageContext pc, Mapping[] mappings, String realPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
Config
getPhysicalResourceExisting
in interface Config
pc
- current PageContextmappings
- per application mappingsrealPath
- path to get Resource foronlyTopLevel
- checks only toplevel mappingsuseSpecialMappings
- invoke special mappings like "mapping-tag" or "mapping-customtag"useDefaultMapping
- also invoke the always existing default mapping "/"public PageSource toPageSource(Mapping[] mappings, Resource res, PageSource defaultValue)
public Resource getConfigDir()
getConfigDir
in interface Config
public Resource getConfigFile()
getConfigFile
in interface Config
public LogAndSource getScheduleLogger()
getScheduleLogger
in interface Config
public LogAndSource getApplicationLogger()
getApplicationLogger
in interface Config
public LogAndSource getDeployLogger()
public LogAndSource getScopeLogger()
public TagLib getCoreTagLib()
public void createTag(TagLib tl, String filename)
public void createFunction(FunctionLib fl, String filename)
public LogAndSource getORMLogger()
public Mapping[] getCustomTagMappings()
Config
getCustomTagMappings
in interface Config
public long getLoadTime()
getLoadTime
in interface Config
public CFXTagPool getCFXTagPool() throws SecurityException
getCFXTagPool
in interface Config
SecurityException
public String getBaseComponentTemplate()
getBaseComponentTemplate
in interface Config
public PageSource getBaseComponentPageSource()
getBaseComponentPageSource
in interface Config
public PageSource getBaseComponentPageSource(PageContext pc)
public boolean getRestList()
public LogAndSource getMappingLogger()
public short getClientType()
getClientType
in interface Config
public int getComponentDataMemberDefaultAccess()
getComponentDataMemberDefaultAccess
in interface Config
public String getTimeServer()
getTimeServer
in interface Config
public String getComponentDumpTemplate()
getComponentDumpTemplate
in interface Config
public String getSecurityToken()
public String getId()
getId
in interface Config
public static String getId(String key, String token, String defaultValue)
public String getSecurityKey()
public String getDebugTemplate()
getDebugTemplate
in interface Config
public String getErrorTemplate(int statusCode)
getErrorTemplate
in interface Config
public short getSessionType()
getSessionType
in interface Config
public abstract String getUpdateType()
getUpdateType
in interface Config
public abstract URL getUpdateLocation()
getUpdateLocation
in interface Config
public Resource getDeployDirectory()
Config
getDeployDirectory
in interface Config
public abstract Resource getRootDirectory()
getRootDirectory
in interface Config
public boolean isSuppressWhitespace()
isSuppressWhitespace
in interface Config
public boolean isSuppressContent()
public String getDefaultEncoding()
getDefaultEncoding
in interface Config
public String getTemplateCharset()
getTemplateCharset
in interface Config
public String getWebCharset()
getWebCharset
in interface Config
public String getResourceCharset()
getResourceCharset
in interface Config
public SecurityManager getSecurityManager()
getSecurityManager
in interface Config
public Resource getFldFile()
getFldFile
in interface Config
public Resource getTldFile()
getTldFile
in interface Config
public DataSource[] getDataSources()
Config
getDataSources
in interface Config
public Map<String,DataSource> getDataSourcesAsMap()
getDataSourcesAsMap
in interface Config
public String getMailDefaultEncoding()
getMailDefaultEncoding
in interface Config
public ResourceProvider getDefaultResourceProvider()
getDefaultResourceProvider
in interface Config
public void clearResourceProviders()
public ResourceProvider[] getResourceProviders()
getResourceProviders
in interface Config
public Resource getResource(String path)
getResource
in interface Config
path
- get a resource that match this path
public ApplicationListener getApplicationListener()
Config
getApplicationListener
in interface Config
public LogAndSource getExceptionLogger()
getExceptionLogger
in interface Config
public LogAndSource getTraceLogger()
getTraceLogger
in interface Config
public int getScriptProtect()
getScriptProtect
in interface Config
public ProxyData getProxyData()
Config
getProxyData
in interface Config
public boolean isProxyEnableFor(String host)
Config
isProxyEnableFor
in interface Config
public boolean getTriggerComponentDataMember()
getTriggerComponentDataMember
in interface Config
public Resource getClientScopeDir()
getClientScopeDir
in interface Config
public Resource getSessionScopeDir()
public long getClientScopeDirSize()
getClientScopeDirSize
in interface Config
public long getSessionScopeDirSize()
public ClassLoader getRPCClassLoader(boolean reload) throws IOException
getRPCClassLoader
in interface Config
IOException
public void resetRPCClassLoader()
public Resource getCacheDir()
getCacheDir
in interface Config
public long getCacheDirSize()
getCacheDirSize
in interface Config
public DumpWriterEntry[] getDumpWritersEntries()
public DumpWriter getDefaultDumpWriter(int defaultType)
Config
getDefaultDumpWriter
in interface Config
public DumpWriter getDumpWriter(String name) throws DeprecatedException
Config
getDumpWriter
in interface Config
name
- key for DumpWriter
DeprecatedException
public DumpWriter getDumpWriter(String name, int defaultType) throws ExpressionException
Config
getDumpWriter
in interface Config
name
- key for DumpWriter
ExpressionException
public boolean useComponentShadow()
Config
useComponentShadow
in interface Config
public boolean useComponentPathCache()
public boolean useCTPathCache()
public void flushComponentPathCache()
public void flushCTPathCache()
public DataSource getDataSource(String datasource) throws DatabaseException
getDataSource
in interface Config
DatabaseException
public DataSource getDataSource(String datasource, DataSource defaultValue)
getDataSource
in interface Config
public PrintWriter getErrWriter()
getErrWriter
in interface Config
public PrintWriter getOutWriter()
getOutWriter
in interface Config
public DatasourceConnectionPool getDatasourceConnectionPool()
public boolean doLocalCustomTag()
Config
doLocalCustomTag
in interface Config
public String[] getCustomTagExtensions()
getCustomTagExtensions
in interface Config
public boolean doComponentDeepSearch()
public boolean doCustomTagDeepSearch()
doCustomTagDeepSearch
in interface Config
public double getVersion()
getVersion
in interface Config
public boolean closeConnection()
public boolean contentLength()
public boolean allowCompression()
public Struct getConstants()
getConstants
in interface Config
public boolean isShowVersion()
isShowVersion
in interface Config
public RemoteClient[] getRemoteClients()
getRemoteClients
in interface Config
public SpoolerEngine getSpoolerEngine()
getSpoolerEngine
in interface Config
public Resource getRemoteClientDirectory()
getRemoteClientDirectory
in interface Config
public LogAndSource getRemoteClientLog()
getRemoteClientLog
in interface Config
public CFMLFactory getFactory()
getFactory
in interface Config
public boolean getErrorStatusCode()
getErrorStatusCode
in interface Config
public int getLocalMode()
getLocalMode
in interface Config
public Resource getVideoDirectory()
getVideoDirectory
in interface Config
public Resource getExtensionDirectory()
getExtensionDirectory
in interface Config
public ExtensionProvider[] getExtensionProviders()
getExtensionProviders
in interface Config
public Extension[] getExtensions()
getExtensions
in interface Config
public boolean isExtensionEnabled()
isExtensionEnabled
in interface Config
public boolean allowRealPath()
allowRealPath
in interface Config
public Class getClusterClass()
getClusterClass
in interface Config
public Struct getRemoteClientUsage()
getRemoteClientUsage
in interface Config
public Class getAdminSyncClass()
getAdminSyncClass
in interface Config
public AdminSync getAdminSync() throws ClassException
ClassException
public Class getVideoExecuterClass()
getVideoExecuterClass
in interface Config
public boolean getUseTimeServer()
public Mapping getTagMapping()
public Mapping getFunctionMapping()
public Resource getTagDirectory()
public void setAMFCaster(String strCaster, Map args)
public void setAMFCaster(Class clazz, Map args)
public void setAMFConfigType(String strDeploy)
public void setAMFConfigType(int amfDeploy)
public int getAMFConfigType()
public AMFCaster getAMFCaster(flex.messaging.config.ConfigMap properties) throws ClassException
ClassException
public Class getAMFCasterClass()
public Map getAMFCasterArguments()
public String getDefaultDataSource()
getDefaultDataSource
in interface Config
public short getInspectTemplate()
getInspectTemplate
in interface Config
public String getSerialNumber()
public Map<String,CacheConnection> getCacheConnections()
getCacheConnections
in interface Config
public CacheConnection getCacheDefaultConnection(int type)
Config
getCacheDefaultConnection
in interface Config
type
- default type, one of the following (CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_TEMPLATE, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE)
public String getCacheDefaultConnectionName(int type)
Config
getCacheDefaultConnectionName
in interface Config
type
- default type, one of the following (CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_TEMPLATE, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE)
public String getCacheMD5()
public void setCacheMD5(String cacheMD5)
public boolean getExecutionLogEnabled()
public ExecutionLogFactory getExecutionLogFactory()
public ORMEngine resetORMEngine(PageContext pc, boolean force) throws PageException
PageException
public ORMEngine getORMEngine(PageContext pc) throws PageException
PageException
public Class<ORMEngine> getORMEngineClass()
public Mapping[] getComponentMappings()
getComponentMappings
in interface Config
public ORMConfiguration getORMConfig()
public Mapping createCustomTagAppMappings(String virtual, String physical)
public Page getCachedPage(PageContext pc, String pathWithCFC) throws PageException
PageException
public void putCachedPageSource(String pathWithCFC, PageSource ps)
public InitFile getCTInitFile(PageContext pc, String key)
public void putCTInitFile(String key, InitFile initFile)
public Struct listCTCache()
public void clearCTCache()
public void clearFunctionCache()
public UDF getFromFunctionCache(String key)
public void putToFunctionCache(String key, UDF udf)
public Struct listComponentCache()
public void clearComponentCache()
public ImportDefintion getComponentDefaultImport()
public boolean getComponentLocalSearch()
public boolean getComponentRootSearch()
public Compress getCompressInstance(Resource zipFile, int format, boolean caseSensitive)
public boolean getSessionCluster()
getSessionCluster
in interface Config
public boolean getClientCluster()
getClientCluster
in interface Config
public ConfigImpl.ComponentMetaData getComponentMetadata(String key)
public void putComponentMetadata(String key, ConfigImpl.ComponentMetaData data)
public void clearComponentMetadata()
public DebugEntry[] getDebugEntries()
public DebugEntry getDebugEntry(String ip, DebugEntry defaultValue)
public int getDebugMaxRecordsLogged()
public abstract int getLoginDelay()
public abstract boolean getLoginCaptcha()
public boolean getDotNotationUpperCase()
public boolean getSupressWSBeforeArg()
public abstract boolean getFullNullSupport()
public abstract Cluster createClusterScope() throws PageException
PageException
public RestSettings getRestSetting()
getRestSetting
in interface Config
public int getMode()
public int getCFMLWriterType()
public boolean getBufferOutput()
public int getDebugOptions()
public boolean hasDebugOptions(int debugOption)
public static Mapping[] getAllMappings(PageContext pc)
public static Mapping[] getAllMappings(ConfigWeb cw)
public boolean checkForChangesInConfigFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |