railo.runtime.config
Class ConfigImpl
java.lang.Object
railo.runtime.config.ConfigImpl
- All Implemented Interfaces:
- Config
- Direct Known Subclasses:
- ConfigServerImpl, ConfigWebImpl
public abstract class ConfigImpl
- extends Object
- implements Config
Hold the definitions of the railo cold fusion configuration.
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 |
allowCompression()
|
boolean |
allowImplicidQueryCall()
return if it is allowed to implizid query call, call a query member witot define name of the query. |
boolean |
allowRealPath()
|
void |
clearComponentCache()
|
void |
clearCTCache()
|
void |
clearFunctionCache()
|
void |
clearResourceProviders()
|
boolean |
closeConnection()
|
boolean |
contentLength()
|
Mapping |
createCustomTagAppMappings(String virtual,
String physical)
|
void |
createFunction(FunctionLib fl,
String filename)
|
void |
createTag(TagLib tl,
String filename)
|
boolean |
debug()
return if debug output will be generated |
boolean |
doComponentDeepSearch()
|
boolean |
doCustomTagDeepSearch()
|
boolean |
doLocalCustomTag()
define if railo search in local directory for custom tags or not |
void |
flushComponentPathCache()
|
void |
flushCTPathCache()
|
AdminSync |
getAdminSync()
|
Class |
getAdminSyncClass()
|
AMFCaster |
getAMFCaster(flex.messaging.config.ConfigMap properties)
|
Map |
getAMFCasterArguments()
|
Class |
getAMFCasterClass()
|
int |
getAMFConfigType()
|
ApplicationListener |
getApplicationListener()
return current application listener |
LogAndSource |
getApplicationLogger()
|
TimeSpan |
getApplicationTimeout()
|
PageSource |
getBaseComponentPageSource()
|
PageSource |
getBaseComponentPageSource(PageContext pc)
|
String |
getBaseComponentTemplate()
|
Map |
getCacheConnections()
|
CacheConnection |
getCacheDefaultConnection(int type)
|
String |
getCacheDefaultConnectionName(int type)
|
Resource |
getCacheDir()
|
long |
getCacheDirSize()
|
Page |
getCachedPage(PageContext pc,
String pathWithCFC)
|
String |
getCacheMD5()
|
String |
getCFCExtension()
|
String[] |
getCFMLExtensions()
return cfml extesnion |
CFXTagPool |
getCFXTagPool()
|
ClassLoader |
getClassLoader()
|
ClassLoader |
getClassLoader(Resource[] reses)
|
boolean |
getClientCluster()
|
Resource |
getClientScopeDir()
|
long |
getClientScopeDirSize()
|
TimeSpan |
getClientTimeout()
|
short |
getClientType()
|
Class |
getClusterClass()
|
FunctionLib |
getCombinedFLDs()
|
short |
getCompileType()
return the compile type of this context |
int |
getComponentDataMemberDefaultAccess()
|
ImportDefintion |
getComponentDefaultImport()
|
String |
getComponentDumpTemplate()
|
boolean |
getComponentLocalSearch()
|
Mapping |
getComponentMapping()
FUTURE deprecated use public Mapping[] getComponentMappings() instead |
Mapping[] |
getComponentMappings()
FUTURE add to interface |
boolean |
getComponentRootSearch()
|
Compress |
getCompressInstance(Resource zipFile,
int format,
boolean caseSensitive)
|
Resource |
getConfigDir()
|
Resource |
getConfigFile()
|
abstract Resource |
getConfigServerDir()
|
Struct |
getConstants()
|
TagLib |
getCoreTagLib()
|
InitFile |
getCTInitFile(PageContext pc,
String key)
|
String[] |
getCustomTagExtensions()
|
Mapping[] |
getCustomTagMappings()
return the mapping to custom tag directory |
DataSource |
getDataSource(String datasource)
|
DataSource |
getDataSource(String datasource,
DataSource defaultValue)
|
DatasourceConnectionPool |
getDatasourceConnectionPool()
|
DataSource[] |
getDataSources()
return the all datasources |
Map |
getDataSourcesAsMap()
|
boolean |
getDebugShowQueryUsage()
|
String |
getDebugTemplate()
|
String |
getDefaultDataSource()
|
DumpWriter |
getDefaultDumpWriter()
returns the default DumpWriter |
DumpWriter |
getDefaultDumpWriter(int defaultType)
returns the default DumpWriter |
String |
getDefaultEncoding()
|
ResourceProvider |
getDefaultResourceProvider()
|
Resource |
getDeployDirectory()
return directory, where railo deploy translated cfml classes (java and class files) |
DumpWriter |
getDumpWriter(String name)
returns the DumpWriter matching key |
DumpWriter |
getDumpWriter(String name,
int defaultType)
returns the DumpWriter matching key |
DumpWriterEntry[] |
getDumpWritersEntries()
|
boolean |
getErrorStatusCode()
|
String |
getErrorTemplate()
|
String |
getErrorTemplate(int statusCode)
|
PrintWriter |
getErrWriter()
|
LogAndSource |
getExceptionLogger()
|
boolean |
getExecutionLogEnabled()
|
ExecutionLogFactory |
getExecutionLogFactory()
|
Resource |
getExtensionDirectory()
|
ExtensionProvider[] |
getExtensionProviders()
|
Extension[] |
getExtensions()
|
CFMLFactory |
getFactory()
|
Resource |
getFldFile()
|
FunctionLib[] |
getFLDs()
return all Function Library Deskriptors |
UDF |
getFromFunctionCache(String key)
|
Mapping |
getFunctionMapping()
|
String |
getId()
|
static String |
getId(String key,
String token,
String defaultValue)
|
short |
getInspectTemplate()
|
String[] |
getInstalledPatches()
|
long |
getLoadTime()
|
Locale |
getLocale()
|
int |
getLocalMode()
|
abstract boolean |
getLoginCaptcha()
|
abstract int |
getLoginDelay()
|
String |
getMailDefaultEncoding()
|
LogAndSource |
getMailLogger()
|
Server[] |
getMailServers()
|
int |
getMailSpoolInterval()
|
int |
getMailTimeout()
|
LogAndSource |
getMappingLogger()
|
Mapping[] |
getMappings()
|
ORMConfiguration |
getORMConfig()
|
ORMEngine |
getORMEngine(PageContext pc)
|
Class<ORMEngine> |
getORMEngineClass()
|
LogAndSource |
getORMLogger()
|
PrintWriter |
getOutWriter()
|
PageSource |
getPageSource(Mapping[] mappings,
String realPath,
boolean onlyTopLevel)
get PageSource of the first Mapping that match the given criteria |
PageSource |
getPageSourceExisting(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping,
boolean onlyPhysicalExisting)
|
PageSource[] |
getPageSources(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
|
Resource |
getPhysical(Mapping[] mappings,
String realPath,
boolean alsoDefaultMapping)
get Resource of the first Mapping that match the given criteria |
Resource |
getPhysicalResourceExisting(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
|
Resource[] |
getPhysicalResources(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
|
String |
getProxyPassword()
return default proxy setting password |
int |
getProxyPort()
return default proxy setting port (default 80) |
String |
getProxyServer()
return default proxy setting server |
String |
getProxyUsername()
return default proxy setting username |
boolean |
getPSQL()
|
Resource |
getRemoteClientDirectory()
|
LogAndSource |
getRemoteClientLog()
|
RemoteClient[] |
getRemoteClients()
|
Struct |
getRemoteClientUsage()
|
abstract RequestMonitor[] |
getRequestMonitors()
|
TimeSpan |
getRequestTimeout()
|
LogAndSource |
getRequestTimeoutLogger()
|
Resource |
getResource(String path)
|
String |
getResourceCharset()
|
ResourceProvider[] |
getResourceProviders()
|
abstract Resource |
getRootDirectory()
|
ClassLoader |
getRPCClassLoader(boolean reload)
|
LogAndSource |
getScheduleLogger()
|
Scheduler |
getScheduler()
|
short |
getScopeCascadingType()
return how railo cascade scopes |
LogAndSource |
getScopeLogger()
|
int |
getScriptProtect()
|
SearchEngine |
getSearchEngine()
|
String |
getSecurityKey()
|
SecurityManager |
getSecurityManager()
|
String |
getSecurityToken()
|
String |
getSerialNumber()
|
boolean |
getSessionCluster()
|
Resource |
getSessionScopeDir()
|
long |
getSessionScopeDirSize()
|
TimeSpan |
getSessionTimeout()
|
short |
getSessionType()
|
SpoolerEngine |
getSpoolerEngine()
|
Resource |
getTagDirectory()
|
Mapping |
getTagMapping()
|
Resource |
getTempDirectory()
return the temp directory |
String |
getTemplateCharset()
|
LogAndSource |
getThreadLogger()
|
String |
getTimeServer()
|
long |
getTimeServerOffset()
|
TimeZone |
getTimeZone()
|
Resource |
getTldFile()
|
TagLib[] |
getTLDs()
return all Tag Library Deskriptors |
LogAndSource |
getTraceLogger()
|
boolean |
getTriggerComponentDataMember()
|
abstract URL |
getUpdateLocation()
|
abstract String |
getUpdateType()
|
boolean |
getUseTimeServer()
|
double |
getVersion()
|
Resource |
getVideoDirectory()
|
Class |
getVideoExecuterClass()
|
String |
getWebCharset()
|
boolean |
hasPassword()
|
boolean |
hasServerPassword()
|
int |
intDebug()
|
boolean |
isAllowURLRequestTimeout()
|
boolean |
isClientCookies()
|
boolean |
isClientManagement()
|
boolean |
isDomainCookies()
|
boolean |
isExtensionEnabled()
|
boolean |
isMailSpoolEnable()
|
abstract boolean |
isMonitoringEnabled()
|
boolean |
isProxyEnableFor(String host)
return if proxy is enabled or not |
boolean |
isSessionManagement()
|
boolean |
isShowVersion()
|
boolean |
isSuppressContent()
|
boolean |
isSuppressWhitespace()
FUTHER
Returns the value of suppresswhitespace. |
Struct |
listComponentCache()
|
Struct |
listCTCache()
|
boolean |
mergeFormAndURL()
e merged
return if url and form scope will b |
boolean |
passwordEqual(String password)
|
void |
putCachedPageSource(String pathWithCFC,
PageSource ps)
|
void |
putCTInitFile(String key,
InitFile initFile)
|
void |
putToFunctionCache(String key,
UDF udf)
|
void |
reloadTimeServerOffset()
reload the time offset to a time server |
void |
reset()
reset config |
ORMEngine |
resetORMEngine(PageContext pc,
boolean force)
|
void |
resetRPCClassLoader()
|
void |
setAllowURLRequestTimeout(boolean allowURLRequestTimeout)
|
void |
setAMFCaster(Class clazz,
Map args)
|
void |
setAMFCaster(String strCaster,
Map args)
|
void |
setAMFConfigType(int amfDeploy)
|
void |
setAMFConfigType(String strDeploy)
|
void |
setCacheDefaultConnectionName(int type,
String cacheDefaultConnectionName)
|
void |
setCacheMD5(String cacheMD5)
|
void |
setThreadLogger(LogAndSource threadLogger)
|
PageSource |
toPageSource(Mapping[] mappings,
Resource res,
PageSource defaultValue)
|
boolean |
useComponentPathCache()
|
boolean |
useComponentShadow()
define if components has a "shadow" in the component variables scope or not. |
boolean |
useCTPathCache()
|
INSPECT_ALWAYS
public static final short INSPECT_ALWAYS
- See Also:
- Constant Field Values
INSPECT_ONCE
public static final short INSPECT_ONCE
- See Also:
- Constant Field Values
INSPECT_NEVER
public static final short INSPECT_NEVER
- See Also:
- Constant Field Values
CLIENT_BOOLEAN_TRUE
public static final int CLIENT_BOOLEAN_TRUE
- See Also:
- Constant Field Values
CLIENT_BOOLEAN_FALSE
public static final int CLIENT_BOOLEAN_FALSE
- See Also:
- Constant Field Values
SERVER_BOOLEAN_TRUE
public static final int SERVER_BOOLEAN_TRUE
- See Also:
- Constant Field Values
SERVER_BOOLEAN_FALSE
public static final int SERVER_BOOLEAN_FALSE
- See Also:
- Constant Field Values
RAILO_EXTENSION_PROVIDERS
public static final ExtensionProvider[] RAILO_EXTENSION_PROVIDERS
CACHE_DEFAULT_NONE
public static final int CACHE_DEFAULT_NONE
- See Also:
- Constant Field Values
CACHE_DEFAULT_OBJECT
public static final int CACHE_DEFAULT_OBJECT
- See Also:
- Constant Field Values
CACHE_DEFAULT_TEMPLATE
public static final int CACHE_DEFAULT_TEMPLATE
- See Also:
- Constant Field Values
CACHE_DEFAULT_QUERY
public static final int CACHE_DEFAULT_QUERY
- See Also:
- Constant Field Values
CACHE_DEFAULT_RESOURCE
public static final int CACHE_DEFAULT_RESOURCE
- See Also:
- Constant Field Values
AMF_CONFIG_TYPE_XML
public static final int AMF_CONFIG_TYPE_XML
- See Also:
- Constant Field Values
AMF_CONFIG_TYPE_MANUAL
public static final int AMF_CONFIG_TYPE_MANUAL
- See Also:
- Constant Field Values
ConfigImpl
public ConfigImpl(CFMLFactory factory,
Resource configDir,
Resource configFile,
TagLib[] tlds,
FunctionLib[] flds)
isAllowURLRequestTimeout
public boolean isAllowURLRequestTimeout()
- Returns:
- the allowURLRequestTimeout
setAllowURLRequestTimeout
public void setAllowURLRequestTimeout(boolean allowURLRequestTimeout)
- Parameters:
allowURLRequestTimeout
- the allowURLRequestTimeout to set
getCompileType
public short getCompileType()
- Description copied from interface:
Config
- return the compile type of this context
- Specified by:
getCompileType
in interface Config
- See Also:
Config.getCompileType()
reset
public void reset()
- Description copied from interface:
Config
- reset config
- Specified by:
reset
in interface Config
- See Also:
Config.reset()
reloadTimeServerOffset
public void reloadTimeServerOffset()
- Description copied from interface:
Config
- reload the time offset to a time server
- Specified by:
reloadTimeServerOffset
in interface Config
- See Also:
Config.reloadTimeServerOffset()
getScopeCascadingType
public short getScopeCascadingType()
- Description copied from interface:
Config
- return how railo cascade scopes
- Specified by:
getScopeCascadingType
in interface Config
- Returns:
- type of cascading
- See Also:
Config.getScopeCascadingType()
getCFMLExtensions
public String[] getCFMLExtensions()
- Description copied from interface:
Config
- return cfml extesnion
- Specified by:
getCFMLExtensions
in interface Config
- Returns:
- cfml extension
- See Also:
railo.runtime.config.Config#getCFMLExtension()
getCFCExtension
public String getCFCExtension()
- Specified by:
getCFCExtension
in interface Config
- See Also:
Config.getCFCExtension()
getFLDs
public FunctionLib[] getFLDs()
- return all Function Library Deskriptors
- Returns:
- Array of Function Library Deskriptors
getCombinedFLDs
public FunctionLib getCombinedFLDs()
getTLDs
public TagLib[] getTLDs()
- return all Tag Library Deskriptors
- Returns:
- Array of Tag Library Deskriptors
allowImplicidQueryCall
public boolean allowImplicidQueryCall()
- Description copied from interface:
Config
- return if it is allowed to implizid query call, call a query member witot define name of the query.
- Specified by:
allowImplicidQueryCall
in interface Config
- Returns:
- is allowed
- See Also:
Config.allowImplicidQueryCall()
mergeFormAndURL
public boolean mergeFormAndURL()
- Description copied from interface:
Config
- e merged
return if url and form scope will b
- Specified by:
mergeFormAndURL
in interface Config
- Returns:
- merge or not
- See Also:
Config.mergeFormAndURL()
getApplicationTimeout
public TimeSpan getApplicationTimeout()
- Specified by:
getApplicationTimeout
in interface Config
- Returns:
- Returns the applicationTimeout.
- See Also:
Config.getApplicationTimeout()
getSessionTimeout
public TimeSpan getSessionTimeout()
- Specified by:
getSessionTimeout
in interface Config
- Returns:
- Returns the sessionTimeout.
- See Also:
Config.getSessionTimeout()
getClientTimeout
public TimeSpan getClientTimeout()
- See Also:
Config.getSessionTimeout()
getRequestTimeout
public TimeSpan getRequestTimeout()
- Specified by:
getRequestTimeout
in interface Config
- Returns:
- Returns the requestTimeout.
- See Also:
Config.getRequestTimeout()
isClientCookies
public boolean isClientCookies()
- Specified by:
isClientCookies
in interface Config
- Returns:
- Returns the clientCookies.
- See Also:
Config.isClientCookies()
isClientManagement
public boolean isClientManagement()
- Specified by:
isClientManagement
in interface Config
- Returns:
- Returns the clientManagement.
- See Also:
Config.isClientManagement()
isDomainCookies
public boolean isDomainCookies()
- Specified by:
isDomainCookies
in interface Config
- Returns:
- Returns the domainCookies.
- See Also:
Config.isDomainCookies()
isSessionManagement
public boolean isSessionManagement()
- Specified by:
isSessionManagement
in interface Config
- Returns:
- Returns the sessionManagement.
- See Also:
Config.isSessionManagement()
isMailSpoolEnable
public boolean isMailSpoolEnable()
- Specified by:
isMailSpoolEnable
in interface Config
- Returns:
- Returns the spoolEnable.
- See Also:
Config.isMailSpoolEnable()
getMailServers
public Server[] getMailServers()
- Specified by:
getMailServers
in interface Config
- Returns:
- return all defined Mail Servers
- See Also:
Config.getMailServers()
getMailTimeout
public int getMailTimeout()
- Specified by:
getMailTimeout
in interface Config
- Returns:
- Returns the mailTimeout.
- See Also:
Config.getMailTimeout()
getPSQL
public boolean getPSQL()
- Specified by:
getPSQL
in interface Config
- Returns:
- preserve single quotes in cfquery tag or not
- See Also:
Config.getPSQL()
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface Config
- Returns:
- classloader of ths context
- See Also:
Config.getClassLoader()
getClassLoader
public ClassLoader getClassLoader(Resource[] reses)
throws IOException
- Throws:
IOException
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface Config
- Returns:
- Returns the locale.
- See Also:
Config.getLocale()
debug
public boolean debug()
- Description copied from interface:
Config
- return if debug output will be generated
- Specified by:
debug
in interface Config
- Returns:
- debug or not
- See Also:
Config.debug()
intDebug
public int intDebug()
getTempDirectory
public Resource getTempDirectory()
- Description copied from interface:
Config
- return the temp directory
- Specified by:
getTempDirectory
in interface Config
- Returns:
- temp directory
- See Also:
Config.getTempDirectory()
getMailSpoolInterval
public int getMailSpoolInterval()
- Specified by:
getMailSpoolInterval
in interface Config
- Returns:
- Returns the spoolInterval.
- See Also:
Config.getMailSpoolInterval()
getMailLogger
public LogAndSource getMailLogger()
- Specified by:
getMailLogger
in interface Config
- Returns:
- Returns the mailLogger.
- See Also:
Config.getMailLogger()
getThreadLogger
public LogAndSource getThreadLogger()
- See Also:
Config.getMailLogger()
setThreadLogger
public void setThreadLogger(LogAndSource threadLogger)
getRequestTimeoutLogger
public LogAndSource getRequestTimeoutLogger()
- Specified by:
getRequestTimeoutLogger
in interface Config
- Returns:
- Returns the request timeout Directory.
- See Also:
Config.getRequestTimeoutLogger()
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interface Config
- Returns:
- returns the time zone for this
- See Also:
Config.getTimeZone()
getTimeServerOffset
public long getTimeServerOffset()
- Specified by:
getTimeServerOffset
in interface Config
- Returns:
- returns the offset from the timeserver to local time
- See Also:
Config.getTimeServerOffset()
getSearchEngine
public SearchEngine getSearchEngine()
- Specified by:
getSearchEngine
in interface Config
- Returns:
- return the search Storage
- See Also:
Config.getSearchEngine()
getScheduler
public Scheduler getScheduler()
- Specified by:
getScheduler
in interface Config
- Returns:
- return the Scheduler
hasPassword
public boolean hasPassword()
- Specified by:
hasPassword
in interface Config
- Returns:
- return if a password is set
- See Also:
Config.hasPassword()
passwordEqual
public boolean passwordEqual(String password)
- Specified by:
passwordEqual
in interface Config
- Returns:
- return if a password is set
- See Also:
Config.passwordEqual(java.lang.String)
hasServerPassword
public boolean hasServerPassword()
- Specified by:
hasServerPassword
in interface Config
- Returns:
- return if a password is set
- See Also:
Config.hasServerPassword()
getMappings
public Mapping[] getMappings()
- Specified by:
getMappings
in interface Config
- Returns:
- Returns the mappings.
- See Also:
Config.getMappings()
getPageSource
public PageSource getPageSource(Mapping[] mappings,
String realPath,
boolean onlyTopLevel)
- Description copied from interface:
Config
- get PageSource of the first Mapping that match the given criteria
- Specified by:
getPageSource
in interface Config
- Parameters:
mappings
- per application mappingsrealPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappings
getPageSourceExisting
public PageSource getPageSourceExisting(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping,
boolean onlyPhysicalExisting)
getPageSources
public PageSource[] getPageSources(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
getPhysical
public Resource getPhysical(Mapping[] mappings,
String realPath,
boolean alsoDefaultMapping)
- Description copied from interface:
Config
- get Resource of the first Mapping that match the given criteria
- Specified by:
getPhysical
in interface Config
- Parameters:
mappings2
- realPath
- alsoDefaultMapping
- ignore default mapping (/) or not
- Returns:
- physical path from mapping
getPhysicalResources
public Resource[] getPhysicalResources(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
getPhysicalResourceExisting
public Resource getPhysicalResourceExisting(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
toPageSource
public PageSource toPageSource(Mapping[] mappings,
Resource res,
PageSource defaultValue)
- Parameters:
mappings2
- - See Also:
railo.runtime.config.Config#toPageSource(railo.commons.io.res.Resource, railo.runtime.PageSource)
getConfigDir
public Resource getConfigDir()
- Specified by:
getConfigDir
in interface Config
- Returns:
- Returns the configDir.
- See Also:
Config.getConfigDir()
getConfigFile
public Resource getConfigFile()
- Specified by:
getConfigFile
in interface Config
- Returns:
- Returns the configFile.
- See Also:
Config.getConfigFile()
getScheduleLogger
public LogAndSource getScheduleLogger()
- Specified by:
getScheduleLogger
in interface Config
- Returns:
- returns schedule logger
- See Also:
Config.getScheduleLogger()
getApplicationLogger
public LogAndSource getApplicationLogger()
- Specified by:
getApplicationLogger
in interface Config
- Returns:
- returns the application logger
- See Also:
Config.getApplicationLogger()
getScopeLogger
public LogAndSource getScopeLogger()
getCoreTagLib
public TagLib getCoreTagLib()
createTag
public void createTag(TagLib tl,
String filename)
createFunction
public void createFunction(FunctionLib fl,
String filename)
getORMLogger
public LogAndSource getORMLogger()
getCustomTagMappings
public Mapping[] getCustomTagMappings()
- Description copied from interface:
Config
- return the mapping to custom tag directory
- Specified by:
getCustomTagMappings
in interface Config
- Returns:
- custom tag directory
- See Also:
Config.getCustomTagMappings()
getLoadTime
public long getLoadTime()
- Specified by:
getLoadTime
in interface Config
- Returns:
- Returns the loadTime.
- See Also:
Config.getLoadTime()
getCFXTagPool
public CFXTagPool getCFXTagPool()
throws SecurityException
- Specified by:
getCFXTagPool
in interface Config
- Returns:
- Returns the cfxTagPool.
- Throws:
SecurityException
- See Also:
Config.getCFXTagPool()
getBaseComponentTemplate
public String getBaseComponentTemplate()
- Specified by:
getBaseComponentTemplate
in interface Config
- Returns:
- Returns the baseComponent.
- See Also:
Config.getBaseComponentTemplate()
getBaseComponentPageSource
public PageSource getBaseComponentPageSource()
- Specified by:
getBaseComponentPageSource
in interface Config
- Returns:
- pagesource of the base component
getBaseComponentPageSource
public PageSource getBaseComponentPageSource(PageContext pc)
getMappingLogger
public LogAndSource getMappingLogger()
getClientType
public short getClientType()
- Specified by:
getClientType
in interface Config
- Returns:
- returns the client type
- See Also:
Config.getClientType()
getComponentDataMemberDefaultAccess
public int getComponentDataMemberDefaultAccess()
- Specified by:
getComponentDataMemberDefaultAccess
in interface Config
- Returns:
- Returns the componentDataMemberDefaultAccess.
- See Also:
Config.getComponentDataMemberDefaultAccess()
getTimeServer
public String getTimeServer()
- Specified by:
getTimeServer
in interface Config
- Returns:
- Returns the timeServer.
- See Also:
Config.getTimeServer()
getComponentDumpTemplate
public String getComponentDumpTemplate()
- Specified by:
getComponentDumpTemplate
in interface Config
- Returns:
- Returns the componentDump.
- See Also:
Config.getComponentDumpTemplate()
getSecurityToken
public String getSecurityToken()
- See Also:
Config.getId()
getId
public String getId()
- Specified by:
getId
in interface Config
- Returns:
- id of the config
getId
public static String getId(String key,
String token,
String defaultValue)
getSecurityKey
public String getSecurityKey()
getDebugTemplate
public String getDebugTemplate()
- Specified by:
getDebugTemplate
in interface Config
- Returns:
- Returns the debug Template.
- See Also:
Config.getDebugTemplate()
getDebugShowQueryUsage
public boolean getDebugShowQueryUsage()
getErrorTemplate
public String getErrorTemplate()
- Specified by:
getErrorTemplate
in interface Config
- Returns:
- the errorTemplate
getErrorTemplate
public String getErrorTemplate(int statusCode)
- Specified by:
getErrorTemplate
in interface Config
getSessionType
public short getSessionType()
- Specified by:
getSessionType
in interface Config
- Returns:
- Returns the sessionType.
- See Also:
Config.getSessionType()
getUpdateType
public abstract String getUpdateType()
- Specified by:
getUpdateType
in interface Config
- Returns:
- returns update type (auto or manual)
- See Also:
Config.getUpdateType()
getUpdateLocation
public abstract URL getUpdateLocation()
- Specified by:
getUpdateLocation
in interface Config
- Returns:
- returns URL for update
- See Also:
Config.getUpdateLocation()
getDeployDirectory
public Resource getDeployDirectory()
- Description copied from interface:
Config
- return directory, where railo deploy translated cfml classes (java and class files)
- Specified by:
getDeployDirectory
in interface Config
- Returns:
- deploy directory
- See Also:
Config.getDeployDirectory()
getRootDirectory
public abstract Resource getRootDirectory()
- Specified by:
getRootDirectory
in interface Config
- Returns:
- Returns the rootDir.
- See Also:
Config.getRootDirectory()
isSuppressWhitespace
public boolean isSuppressWhitespace()
- FUTHER
Returns the value of suppresswhitespace.
- Specified by:
isSuppressWhitespace
in interface Config
- Returns:
- value suppresswhitespace
isSuppressContent
public boolean isSuppressContent()
getDefaultEncoding
public String getDefaultEncoding()
- Specified by:
getDefaultEncoding
in interface Config
- See Also:
Config.getDefaultEncoding()
getTemplateCharset
public String getTemplateCharset()
- Specified by:
getTemplateCharset
in interface Config
- Returns:
- returns the charset used to read cfml files
- See Also:
Config.getTemplateCharset()
getWebCharset
public String getWebCharset()
- Specified by:
getWebCharset
in interface Config
- Returns:
- returns the charset for the response and request
- See Also:
Config.getWebCharset()
getResourceCharset
public String getResourceCharset()
- Specified by:
getResourceCharset
in interface Config
- Returns:
- returns the charset used to read and write resources
- See Also:
Config.getResourceCharset()
getSecurityManager
public SecurityManager getSecurityManager()
- Specified by:
getSecurityManager
in interface Config
- Returns:
- Returns the accessor.
getFldFile
public Resource getFldFile()
- Specified by:
getFldFile
in interface Config
- Returns:
- the fldFile
getTldFile
public Resource getTldFile()
- Specified by:
getTldFile
in interface Config
- Returns:
- the tldFile
getDataSources
public DataSource[] getDataSources()
- Description copied from interface:
Config
- return the all datasources
- Specified by:
getDataSources
in interface Config
- See Also:
Config.getDataSources()
getDataSourcesAsMap
public Map getDataSourcesAsMap()
- Specified by:
getDataSourcesAsMap
in interface Config
getMailDefaultEncoding
public String getMailDefaultEncoding()
- Specified by:
getMailDefaultEncoding
in interface Config
- Returns:
- the mailDefaultCharset
getDefaultResourceProvider
public ResourceProvider getDefaultResourceProvider()
- Specified by:
getDefaultResourceProvider
in interface Config
- Returns:
- the defaultResourceProvider
clearResourceProviders
public void clearResourceProviders()
getResourceProviders
public ResourceProvider[] getResourceProviders()
- Specified by:
getResourceProviders
in interface Config
- Returns:
- return the resource providers
getResource
public Resource getResource(String path)
- Specified by:
getResource
in interface Config
- Parameters:
path
- get a resource that match this path
- Returns:
- resource matching path
- See Also:
Config.getResource(java.lang.String)
getApplicationListener
public ApplicationListener getApplicationListener()
- Description copied from interface:
Config
- return current application listener
- Specified by:
getApplicationListener
in interface Config
- Returns:
- application listener
- See Also:
Config.getApplicationListener()
getExceptionLogger
public LogAndSource getExceptionLogger()
- Specified by:
getExceptionLogger
in interface Config
- Returns:
- the exceptionLogger
getTraceLogger
public LogAndSource getTraceLogger()
- Specified by:
getTraceLogger
in interface Config
- Returns:
- the exceptionLogger
getScriptProtect
public int getScriptProtect()
- Specified by:
getScriptProtect
in interface Config
- Returns:
- the scriptProtect
getProxyPassword
public String getProxyPassword()
- Description copied from interface:
Config
- return default proxy setting password
- Specified by:
getProxyPassword
in interface Config
- Returns:
- the proxyPassword
getProxyPort
public int getProxyPort()
- Description copied from interface:
Config
- return default proxy setting port (default 80)
- Specified by:
getProxyPort
in interface Config
- Returns:
- the proxyPort
getProxyServer
public String getProxyServer()
- Description copied from interface:
Config
- return default proxy setting server
- Specified by:
getProxyServer
in interface Config
- Returns:
- the proxyServer
getProxyUsername
public String getProxyUsername()
- Description copied from interface:
Config
- return default proxy setting username
- Specified by:
getProxyUsername
in interface Config
- Returns:
- the proxyUsername
isProxyEnableFor
public boolean isProxyEnableFor(String host)
- Description copied from interface:
Config
- return if proxy is enabled or not
- Specified by:
isProxyEnableFor
in interface Config
- Returns:
- is proxy enabled
- See Also:
Config.isProxyEnableFor(java.lang.String)
getTriggerComponentDataMember
public boolean getTriggerComponentDataMember()
- Specified by:
getTriggerComponentDataMember
in interface Config
- Returns:
- the triggerComponentDataMember
getClientScopeDir
public Resource getClientScopeDir()
- Specified by:
getClientScopeDir
in interface Config
- See Also:
Config.getClientScopeDir()
getSessionScopeDir
public Resource getSessionScopeDir()
getClientScopeDirSize
public long getClientScopeDirSize()
- Specified by:
getClientScopeDirSize
in interface Config
- See Also:
Config.getClientScopeDirSize()
getSessionScopeDirSize
public long getSessionScopeDirSize()
getRPCClassLoader
public ClassLoader getRPCClassLoader(boolean reload)
throws IOException
- Specified by:
getRPCClassLoader
in interface Config
- Throws:
IOException
- See Also:
railo.runtime.config.Config#getRPCClassLoader()
resetRPCClassLoader
public void resetRPCClassLoader()
getCacheDir
public Resource getCacheDir()
- Specified by:
getCacheDir
in interface Config
getCacheDirSize
public long getCacheDirSize()
- Specified by:
getCacheDirSize
in interface Config
getDumpWritersEntries
public DumpWriterEntry[] getDumpWritersEntries()
getDefaultDumpWriter
public DumpWriter getDefaultDumpWriter()
- Description copied from interface:
Config
- returns the default DumpWriter
- Specified by:
getDefaultDumpWriter
in interface Config
- Returns:
- default DumpWriter
- See Also:
Config.getDefaultDumpWriter()
getDefaultDumpWriter
public DumpWriter getDefaultDumpWriter(int defaultType)
- Description copied from interface:
Config
- returns the default DumpWriter
- Specified by:
getDefaultDumpWriter
in interface Config
- Returns:
- default DumpWriter
getDumpWriter
public DumpWriter getDumpWriter(String name)
throws DeprecatedException
- Description copied from interface:
Config
- returns the DumpWriter matching key
- Specified by:
getDumpWriter
in interface Config
- Parameters:
name
- key for DumpWriter
- Returns:
- matching DumpWriter
- Throws:
DeprecatedException
- See Also:
Config.getDumpWriter(java.lang.String)
getDumpWriter
public DumpWriter getDumpWriter(String name,
int defaultType)
throws ExpressionException
- Description copied from interface:
Config
- returns the DumpWriter matching key
- Specified by:
getDumpWriter
in interface Config
- Parameters:
name
- key for DumpWriter
- Returns:
- matching DumpWriter
- Throws:
ExpressionException
useComponentShadow
public boolean useComponentShadow()
- Description copied from interface:
Config
- define if components has a "shadow" in the component variables scope or not.
- Specified by:
useComponentShadow
in interface Config
- Returns:
- See Also:
Config.useComponentShadow()
useComponentPathCache
public boolean useComponentPathCache()
useCTPathCache
public boolean useCTPathCache()
flushComponentPathCache
public void flushComponentPathCache()
flushCTPathCache
public void flushCTPathCache()
getDataSource
public DataSource getDataSource(String datasource)
throws DatabaseException
- Specified by:
getDataSource
in interface Config
- Throws:
DatabaseException
getDataSource
public DataSource getDataSource(String datasource,
DataSource defaultValue)
getErrWriter
public PrintWriter getErrWriter()
- Specified by:
getErrWriter
in interface Config
- See Also:
Config.getErrWriter()
getOutWriter
public PrintWriter getOutWriter()
- Specified by:
getOutWriter
in interface Config
- Returns:
- returns the out print writer stream
- See Also:
Config.getOutWriter()
getDatasourceConnectionPool
public DatasourceConnectionPool getDatasourceConnectionPool()
doLocalCustomTag
public boolean doLocalCustomTag()
- Description copied from interface:
Config
- define if railo search in local directory for custom tags or not
- Specified by:
doLocalCustomTag
in interface Config
- Returns:
- search in local dir?
getCustomTagExtensions
public String[] getCustomTagExtensions()
- Specified by:
getCustomTagExtensions
in interface Config
- See Also:
Config.getCustomTagExtensions()
doComponentDeepSearch
public boolean doComponentDeepSearch()
doCustomTagDeepSearch
public boolean doCustomTagDeepSearch()
- Specified by:
doCustomTagDeepSearch
in interface Config
- See Also:
Config.doCustomTagDeepSearch()
getVersion
public double getVersion()
- Specified by:
getVersion
in interface Config
- Returns:
- the version
closeConnection
public boolean closeConnection()
contentLength
public boolean contentLength()
allowCompression
public boolean allowCompression()
getConstants
public Struct getConstants()
- Specified by:
getConstants
in interface Config
- Returns:
- the constants
isShowVersion
public boolean isShowVersion()
- Specified by:
isShowVersion
in interface Config
- Returns:
- the showVersion
getRemoteClients
public RemoteClient[] getRemoteClients()
- Specified by:
getRemoteClients
in interface Config
getSpoolerEngine
public SpoolerEngine getSpoolerEngine()
- Specified by:
getSpoolerEngine
in interface Config
getRemoteClientDirectory
public Resource getRemoteClientDirectory()
- Specified by:
getRemoteClientDirectory
in interface Config
- Returns:
- the remoteClientDirectory
getRemoteClientLog
public LogAndSource getRemoteClientLog()
- Specified by:
getRemoteClientLog
in interface Config
- Returns:
- the remoteClientLog
getFactory
public CFMLFactory getFactory()
- Specified by:
getFactory
in interface Config
- Returns:
- the factory
getErrorStatusCode
public boolean getErrorStatusCode()
- Specified by:
getErrorStatusCode
in interface Config
- Returns:
- if error status code will be returned or not
getLocalMode
public int getLocalMode()
- Specified by:
getLocalMode
in interface Config
- See Also:
Config.getLocalMode()
getVideoDirectory
public Resource getVideoDirectory()
- Specified by:
getVideoDirectory
in interface Config
getExtensionDirectory
public Resource getExtensionDirectory()
- Specified by:
getExtensionDirectory
in interface Config
getExtensionProviders
public ExtensionProvider[] getExtensionProviders()
- Specified by:
getExtensionProviders
in interface Config
getExtensions
public Extension[] getExtensions()
- Specified by:
getExtensions
in interface Config
isExtensionEnabled
public boolean isExtensionEnabled()
- Specified by:
isExtensionEnabled
in interface Config
allowRealPath
public boolean allowRealPath()
- Specified by:
allowRealPath
in interface Config
getClusterClass
public Class getClusterClass()
- Specified by:
getClusterClass
in interface Config
- Returns:
- the classClusterScope
getRemoteClientUsage
public Struct getRemoteClientUsage()
- Specified by:
getRemoteClientUsage
in interface Config
- See Also:
Config.getRemoteClientUsage()
getAdminSyncClass
public Class getAdminSyncClass()
- Specified by:
getAdminSyncClass
in interface Config
- See Also:
Config.getAdminSyncClass()
getAdminSync
public AdminSync getAdminSync()
throws ClassException
- Throws:
ClassException
getVideoExecuterClass
public Class getVideoExecuterClass()
- Specified by:
getVideoExecuterClass
in interface Config
- See Also:
Config.getVideoExecuterClass()
getUseTimeServer
public boolean getUseTimeServer()
getTagMapping
public Mapping getTagMapping()
- Returns:
- the tagMappings
getFunctionMapping
public Mapping getFunctionMapping()
getTagDirectory
public Resource getTagDirectory()
- Returns:
- the tagDirectory
setAMFCaster
public void setAMFCaster(String strCaster,
Map args)
setAMFCaster
public void setAMFCaster(Class clazz,
Map args)
setAMFConfigType
public void setAMFConfigType(String strDeploy)
setAMFConfigType
public void setAMFConfigType(int amfDeploy)
getAMFConfigType
public int getAMFConfigType()
getAMFCaster
public AMFCaster getAMFCaster(flex.messaging.config.ConfigMap properties)
throws ClassException
- Throws:
ClassException
getAMFCasterClass
public Class getAMFCasterClass()
getAMFCasterArguments
public Map getAMFCasterArguments()
getDefaultDataSource
public String getDefaultDataSource()
getInspectTemplate
public short getInspectTemplate()
- Returns:
- the inspectTemplate
FUTURE to interface
getSerialNumber
public String getSerialNumber()
getCacheConnections
public Map getCacheConnections()
- Returns:
- the caches
FUTURE add o interface
getCacheDefaultConnection
public CacheConnection getCacheDefaultConnection(int type)
- Returns:
- the defaultCache
FUTURE add o interface
setCacheDefaultConnectionName
public void setCacheDefaultConnectionName(int type,
String cacheDefaultConnectionName)
getCacheDefaultConnectionName
public String getCacheDefaultConnectionName(int type)
getCacheMD5
public String getCacheMD5()
setCacheMD5
public void setCacheMD5(String cacheMD5)
getExecutionLogEnabled
public boolean getExecutionLogEnabled()
getExecutionLogFactory
public ExecutionLogFactory getExecutionLogFactory()
resetORMEngine
public ORMEngine resetORMEngine(PageContext pc,
boolean force)
throws PageException
- Throws:
PageException
getORMEngine
public ORMEngine getORMEngine(PageContext pc)
throws PageException
- Throws:
PageException
getORMEngineClass
public Class<ORMEngine> getORMEngineClass()
getInstalledPatches
public String[] getInstalledPatches()
throws PageException
- Throws:
PageException
getComponentMappings
public Mapping[] getComponentMappings()
- FUTURE add to interface
- Returns:
- the componentMappings
getComponentMapping
public Mapping getComponentMapping()
- Description copied from interface:
Config
- FUTURE deprecated use
public Mapping[] getComponentMappings()
instead
- Specified by:
getComponentMapping
in interface Config
getORMConfig
public ORMConfiguration getORMConfig()
createCustomTagAppMappings
public Mapping createCustomTagAppMappings(String virtual,
String physical)
getCachedPage
public Page getCachedPage(PageContext pc,
String pathWithCFC)
throws PageException
- Throws:
PageException
putCachedPageSource
public void putCachedPageSource(String pathWithCFC,
PageSource ps)
getCTInitFile
public InitFile getCTInitFile(PageContext pc,
String key)
throws PageException
- Throws:
PageException
putCTInitFile
public void putCTInitFile(String key,
InitFile initFile)
listCTCache
public Struct listCTCache()
clearCTCache
public void clearCTCache()
clearFunctionCache
public void clearFunctionCache()
getFromFunctionCache
public UDF getFromFunctionCache(String key)
putToFunctionCache
public void putToFunctionCache(String key,
UDF udf)
listComponentCache
public Struct listComponentCache()
clearComponentCache
public void clearComponentCache()
getComponentDefaultImport
public ImportDefintion getComponentDefaultImport()
getComponentLocalSearch
public boolean getComponentLocalSearch()
- Returns:
- the componentLocalSearch
getComponentRootSearch
public boolean getComponentRootSearch()
- Returns:
- the componentLocalSearch
getCompressInstance
public Compress getCompressInstance(Resource zipFile,
int format,
boolean caseSensitive)
getSessionCluster
public boolean getSessionCluster()
getClientCluster
public boolean getClientCluster()
getLoginDelay
public abstract int getLoginDelay()
getLoginCaptcha
public abstract boolean getLoginCaptcha()
getConfigServerDir
public abstract Resource getConfigServerDir()
isMonitoringEnabled
public abstract boolean isMonitoringEnabled()
getRequestMonitors
public abstract RequestMonitor[] getRequestMonitors()
Copyright © 2012 Railo