public interface Config
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_DEFAULT_FUNCTION |
static int |
CACHE_DEFAULT_INCLUDE |
static int |
CACHE_DEFAULT_NONE |
static int |
CACHE_DEFAULT_OBJECT |
static int |
CACHE_DEFAULT_QUERY |
static int |
CACHE_DEFAULT_RESOURCE |
static int |
CACHE_DEFAULT_TEMPLATE |
static short |
CLIENT_SCOPE_TYPE_COOKIE
Field
CLIENT_SCOPE_TYPE_COOKIE |
static short |
CLIENT_SCOPE_TYPE_DB
Field
CLIENT_SCOPE_TYPE_DB |
static short |
CLIENT_SCOPE_TYPE_FILE
Field
CLIENT_SCOPE_TYPE_FILE |
static short |
INSPECT_ALWAYS |
static short |
INSPECT_NEVER |
static short |
INSPECT_ONCE |
static short |
RECOMPILE_AFTER_STARTUP
Field
RECOMPILE_AT_STARTUP |
static short |
RECOMPILE_ALWAYS
Field
RECOMPILE_ALWAYS |
static short |
RECOMPILE_NEVER
Field
RECOMPILE_NEVER |
static short |
SCOPE_SMALL
Define a small scope cascading
|
static short |
SCOPE_STANDARD
Define a standart scope cascading (like other cf versions)
|
static short |
SCOPE_STRICT
Define a strict scope cascading
|
static short |
SESSION_TYPE_CFML
Field
SESSION_TYPE_CFML |
static short |
SESSION_TYPE_J2EE
Field
SESSION_TYPE_J2EE |
Modifier and Type | Method and Description |
---|---|
boolean |
allowImplicidQueryCall()
return if it is allowed to implizid query call, call a query member witot define name of the query.
|
boolean |
allowRealPath() |
boolean |
allowRequestTimeout() |
void |
checkPermGenSpace(boolean check)
if free permspace gen is lower than 10000000 bytes, lucee shrinks all classloaders
|
boolean |
debug()
return if debug output will be generated
|
boolean |
doCustomTagDeepSearch() |
boolean |
doLocalCustomTag()
define if lucee search in local directory for custom tags or not
|
java.lang.Class |
getAdminSyncClass() |
ApplicationListener |
getApplicationListener()
return current application listener
|
LogAndSource |
getApplicationLogger() |
TimeSpan |
getApplicationTimeout() |
PageSource |
getBaseComponentPageSource() |
java.lang.String |
getBaseComponentTemplate() |
java.util.Map<java.lang.String,CacheConnection> |
getCacheConnections() |
CacheConnection |
getCacheDefaultConnection(int type)
get default cache connection for a specific type
|
java.lang.String |
getCacheDefaultConnectionName(int type)
get name of a default cache connection for a specific type
|
Resource |
getCacheDir() |
long |
getCacheDirSize() |
java.lang.String |
getCFCExtension() |
java.lang.String[] |
getCFMLExtensions()
return cfml extesnion
|
CFXTagPool |
getCFXTagPool() |
java.lang.ClassLoader |
getClassLoader() |
java.lang.ClassLoader |
getClassLoader(Resource[] reses) |
boolean |
getClientCluster() |
Resource |
getClientScopeDir() |
long |
getClientScopeDirSize() |
TimeSpan |
getClientTimeout() |
short |
getClientType() |
java.lang.Class |
getClusterClass() |
short |
getCompileType()
return the compile type of this context
|
int |
getComponentDataMemberDefaultAccess() |
java.lang.String |
getComponentDumpTemplate() |
Mapping[] |
getComponentMappings() |
Resource |
getConfigDir() |
Resource |
getConfigFile() |
ConfigServer |
getConfigServer(java.lang.String password) |
Struct |
getConstants() |
java.lang.String[] |
getCustomTagExtensions() |
Mapping[] |
getCustomTagMappings()
return the mapping to custom tag directory
|
DataSource |
getDataSource(java.lang.String datasource) |
DataSource |
getDataSource(java.lang.String datasource,
DataSource defaultValue) |
DataSource[] |
getDataSources()
return the all datasources
|
java.util.Map |
getDataSourcesAsMap() |
java.lang.String |
getDebugTemplate()
Deprecated.
use instead
getDebugEntry(ip, defaultValue) |
java.lang.String |
getDefaultDataSource() |
DumpWriter |
getDefaultDumpWriter(int defaultType)
returns the default DumpWriter
|
java.lang.String |
getDefaultEncoding() |
ResourceProvider |
getDefaultResourceProvider() |
Resource |
getDeployDirectory()
return directory, where lucee deploy translated cfml classes (java and class files)
|
DumpWriter |
getDumpWriter(java.lang.String key)
Deprecated.
use instead
getDumpWriter(String key,int defaultType) |
DumpWriter |
getDumpWriter(java.lang.String key,
int defaultType)
returns the DumpWriter matching key
|
boolean |
getErrorStatusCode() |
java.lang.String |
getErrorTemplate(int statusCode) |
java.io.PrintWriter |
getErrWriter() |
LogAndSource |
getExceptionLogger() |
Resource |
getExtensionDirectory() |
ExtensionProvider[] |
getExtensionProviders() |
Extension[] |
getExtensions() |
CFMLFactory |
getFactory() |
Resource |
getFldFile() |
java.lang.String |
getId() |
short |
getInspectTemplate() |
IntervallMonitor |
getIntervallMonitor(java.lang.String name) |
IntervallMonitor[] |
getIntervallMonitors() |
long |
getLoadTime() |
java.util.Locale |
getLocale() |
int |
getLocalMode() |
java.lang.String |
getMailDefaultEncoding() |
LogAndSource |
getMailLogger() |
Server[] |
getMailServers() |
int |
getMailSpoolInterval() |
int |
getMailTimeout() |
Mapping[] |
getMappings() |
java.io.PrintWriter |
getOutWriter() |
PageSource |
getPageSource(Mapping[] mappings,
java.lang.String relPath,
boolean onlyTopLevel)
Deprecated.
use instead getPageSources or getPageSourceExisting
|
PageSource |
getPageSourceExisting(PageContext pc,
Mapping[] mappings,
java.lang.String relPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping,
boolean onlyPhysicalExisting)
return existing PageSource that match the given criteria, if there is no PageSource null is returned.
|
PageSource[] |
getPageSources(PageContext pc,
Mapping[] mappings,
java.lang.String relPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
get all PageSources that match the given criteria
|
Resource |
getPhysical(Mapping[] mappings,
java.lang.String relPath,
boolean alsoDefaultMapping)
Deprecated.
use instead getPhysicalResources or getPhysicalResourceExisting
|
Resource |
getPhysicalResourceExisting(PageContext pc,
Mapping[] mappings,
java.lang.String relPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
return existing Resource that match the given criteria, if there is no Resource null is returned.
|
Resource[] |
getPhysicalResources(PageContext pc,
Mapping[] mappings,
java.lang.String relPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
get all Resources that match the given criteria
|
ProxyData |
getProxyData()
return default proxy setting password
|
boolean |
getPSQL() |
Resource |
getRemoteClientDirectory() |
LogAndSource |
getRemoteClientLog() |
RemoteClient[] |
getRemoteClients() |
Struct |
getRemoteClientUsage() |
RequestMonitor |
getRequestMonitor(java.lang.String name) |
RequestMonitor[] |
getRequestMonitors() |
TimeSpan |
getRequestTimeout() |
LogAndSource |
getRequestTimeoutLogger() |
Resource |
getResource(java.lang.String path) |
java.lang.String |
getResourceCharset() |
ResourceProvider[] |
getResourceProviders() |
RestSettings |
getRestSetting() |
Resource |
getRootDirectory() |
java.lang.ClassLoader |
getRPCClassLoader(boolean reload) |
LogAndSource |
getScheduleLogger() |
Scheduler |
getScheduler() |
short |
getScopeCascadingType()
return how lucee cascade scopes
|
int |
getScriptProtect() |
SearchEngine |
getSearchEngine() |
Resource |
getSecurityDirectory() |
SecurityManager |
getSecurityManager() |
boolean |
getSessionCluster() |
TimeSpan |
getSessionTimeout() |
short |
getSessionType() |
SpoolerEngine |
getSpoolerEngine() |
Resource |
getTempDirectory()
return the temp directory
|
java.lang.String |
getTemplateCharset() |
ThreadQueue |
getThreadQueue() |
java.lang.String |
getTimeServer() |
long |
getTimeServerOffset() |
java.util.TimeZone |
getTimeZone() |
Resource |
getTldFile() |
LogAndSource |
getTraceLogger() |
boolean |
getTriggerComponentDataMember() |
java.net.URL |
getUpdateLocation() |
java.lang.String |
getUpdateType() |
double |
getVersion() |
Resource |
getVideoDirectory() |
java.lang.Class |
getVideoExecuterClass() |
java.lang.String |
getWebCharset() |
boolean |
hasPassword() |
boolean |
hasServerPassword() |
boolean |
isClientCookies() |
boolean |
isClientManagement() |
boolean |
isDomainCookies() |
boolean |
isExtensionEnabled() |
boolean |
isMailSpoolEnable() |
boolean |
isMonitoringEnabled() |
boolean |
isProxyEnableFor(java.lang.String host)
return if proxy is enabled or not
|
boolean |
isSessionManagement() |
boolean |
isShowVersion() |
boolean |
isSuppressWhitespace() |
boolean |
mergeFormAndURL()
e merged
return if url and form scope will b
|
boolean |
passwordEqual(java.lang.String password) |
void |
reloadTimeServerOffset()
reload the time offset to a time server
|
void |
reset()
reset config
|
boolean |
useComponentShadow()
define if components has a "shadow" in the component variables scope or not.
|
static final short SCOPE_STRICT
static final short SCOPE_SMALL
static final short SCOPE_STANDARD
static final short CLIENT_SCOPE_TYPE_COOKIE
CLIENT_SCOPE_TYPE_COOKIE
static final short CLIENT_SCOPE_TYPE_FILE
CLIENT_SCOPE_TYPE_FILE
static final short CLIENT_SCOPE_TYPE_DB
CLIENT_SCOPE_TYPE_DB
static final short SESSION_TYPE_CFML
SESSION_TYPE_CFML
static final short SESSION_TYPE_J2EE
SESSION_TYPE_J2EE
static final short RECOMPILE_NEVER
RECOMPILE_NEVER
static final short RECOMPILE_AFTER_STARTUP
RECOMPILE_AT_STARTUP
static final short RECOMPILE_ALWAYS
RECOMPILE_ALWAYS
static final short INSPECT_ALWAYS
static final short INSPECT_ONCE
static final short INSPECT_NEVER
static final int CACHE_DEFAULT_NONE
static final int CACHE_DEFAULT_OBJECT
static final int CACHE_DEFAULT_TEMPLATE
static final int CACHE_DEFAULT_QUERY
static final int CACHE_DEFAULT_RESOURCE
static final int CACHE_DEFAULT_FUNCTION
static final int CACHE_DEFAULT_INCLUDE
short getInspectTemplate()
java.lang.String getDefaultDataSource()
short getScopeCascadingType()
java.lang.String[] getCFMLExtensions()
java.lang.String getCFCExtension()
Mapping[] getCustomTagMappings()
boolean allowImplicidQueryCall()
boolean mergeFormAndURL()
TimeSpan getApplicationTimeout()
TimeSpan getSessionTimeout()
TimeSpan getClientTimeout()
TimeSpan getRequestTimeout()
boolean isClientCookies()
boolean isClientManagement()
boolean isDomainCookies()
boolean isSessionManagement()
boolean isMailSpoolEnable()
int getMailTimeout()
boolean getPSQL()
java.util.Locale getLocale()
boolean debug()
Resource getTempDirectory()
int getMailSpoolInterval()
java.util.TimeZone getTimeZone()
long getTimeServerOffset()
boolean hasPassword()
boolean passwordEqual(java.lang.String password)
password
- boolean hasServerPassword()
Mapping[] getMappings()
Resource getConfigDir()
Resource getConfigFile()
long getLoadTime()
java.lang.String getBaseComponentTemplate()
short getClientType()
int getComponentDataMemberDefaultAccess()
java.lang.String getTimeServer()
java.lang.String getComponentDumpTemplate()
java.lang.String getId()
java.lang.String getDebugTemplate()
getDebugEntry(ip, defaultValue)
java.lang.String getErrorTemplate(int statusCode)
short getSessionType()
java.lang.String getWebCharset()
java.lang.String getTemplateCharset()
java.lang.String getResourceCharset()
java.lang.String getMailDefaultEncoding()
java.lang.String getUpdateType()
java.net.URL getUpdateLocation()
Resource getDeployDirectory()
Resource getRootDirectory()
SecurityManager getSecurityManager()
CFXTagPool getCFXTagPool() throws PageException
PageException
LogAndSource getApplicationLogger()
LogAndSource getExceptionLogger()
LogAndSource getTraceLogger()
ConfigServer getConfigServer(java.lang.String password) throws PageException
password
- PageException
LogAndSource getMailLogger()
LogAndSource getRequestTimeoutLogger()
LogAndSource getScheduleLogger()
void reloadTimeServerOffset()
void reset()
SearchEngine getSearchEngine()
Scheduler getScheduler()
Server[] getMailServers()
short getCompileType()
DataSource[] getDataSources()
Resource getResource(java.lang.String path)
path
- get a resource that match this pathApplicationListener getApplicationListener()
int getScriptProtect()
ProxyData getProxyData()
boolean isProxyEnableFor(java.lang.String host)
boolean getTriggerComponentDataMember()
RestSettings getRestSetting()
Resource getClientScopeDir()
long getClientScopeDirSize()
java.lang.ClassLoader getRPCClassLoader(boolean reload) throws java.io.IOException
java.io.IOException
Resource getCacheDir()
long getCacheDirSize()
java.util.Map<java.lang.String,CacheConnection> getCacheConnections()
CacheConnection getCacheDefaultConnection(int type)
type
- default type, one of the following (CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_TEMPLATE, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE)java.lang.String getCacheDefaultConnectionName(int type)
type
- default type, one of the following (CACHE_DEFAULT_NONE, CACHE_DEFAULT_OBJECT, CACHE_DEFAULT_TEMPLATE, CACHE_DEFAULT_QUERY, CACHE_DEFAULT_RESOURCE)DumpWriter getDefaultDumpWriter(int defaultType)
defaultType
- DumpWriter getDumpWriter(java.lang.String key, int defaultType) throws PageException
key
- key for DumpWriterdefaultType
- PageException
- if there is no DumpWriter for this keyDumpWriter getDumpWriter(java.lang.String key) throws PageException
getDumpWriter(String key,int defaultType)
key
- key for DumpWriterPageException
- if there is no DumpWriter for this keyboolean useComponentShadow()
Mapping[] getComponentMappings()
boolean doCustomTagDeepSearch()
java.io.PrintWriter getErrWriter()
java.io.PrintWriter getOutWriter()
boolean doLocalCustomTag()
java.lang.String[] getCustomTagExtensions()
boolean getErrorStatusCode()
int getLocalMode()
java.lang.Class getClusterClass()
java.lang.ClassLoader getClassLoader()
java.lang.ClassLoader getClassLoader(Resource[] reses) throws java.io.IOException
java.io.IOException
Resource getExtensionDirectory()
ExtensionProvider[] getExtensionProviders()
Extension[] getExtensions()
PageSource getBaseComponentPageSource()
boolean allowRealPath()
Struct getConstants()
DataSource getDataSource(java.lang.String datasource) throws PageException
PageException
DataSource getDataSource(java.lang.String datasource, DataSource defaultValue)
java.util.Map getDataSourcesAsMap()
java.lang.String getDefaultEncoding()
ResourceProvider getDefaultResourceProvider()
CFMLFactory getFactory()
boolean isExtensionEnabled()
Resource getFldFile()
Resource getTldFile()
PageSource getPageSource(Mapping[] mappings, java.lang.String relPath, boolean onlyTopLevel)
mappings
- per application mappingsrelPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingsPageSource getPageSourceExisting(PageContext pc, Mapping[] mappings, java.lang.String relPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping, boolean onlyPhysicalExisting)
pc
- current PageContextmappings
- per application mappingsrelPath
- 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 "/"PageSource[] getPageSources(PageContext pc, Mapping[] mappings, java.lang.String relPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
pc
- current PageContextmappings
- per application mappingsrelPath
- 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 "/"Resource getPhysical(Mapping[] mappings, java.lang.String relPath, boolean alsoDefaultMapping)
mappings
- per application mappingsrelPath
- path to get PageSource foronlyTopLevel
- checks only toplevel mappingsResource[] getPhysicalResources(PageContext pc, Mapping[] mappings, java.lang.String relPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
pc
- current PageContextmappings
- per application mappingsrelPath
- 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 "/"Resource getPhysicalResourceExisting(PageContext pc, Mapping[] mappings, java.lang.String relPath, boolean onlyTopLevel, boolean useSpecialMappings, boolean useDefaultMapping)
pc
- current PageContextmappings
- per application mappingsrelPath
- 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 "/"Resource getRemoteClientDirectory()
LogAndSource getRemoteClientLog()
RemoteClient[] getRemoteClients()
SpoolerEngine getSpoolerEngine()
ResourceProvider[] getResourceProviders()
double getVersion()
Resource getVideoDirectory()
boolean isShowVersion()
boolean isSuppressWhitespace()
Struct getRemoteClientUsage()
java.lang.Class getAdminSyncClass()
java.lang.Class getVideoExecuterClass()
ThreadQueue getThreadQueue()
boolean getSessionCluster()
boolean getClientCluster()
Resource getSecurityDirectory()
boolean isMonitoringEnabled()
RequestMonitor[] getRequestMonitors()
RequestMonitor getRequestMonitor(java.lang.String name) throws PageException
PageException
IntervallMonitor[] getIntervallMonitors()
IntervallMonitor getIntervallMonitor(java.lang.String name) throws PageException
PageException
void checkPermGenSpace(boolean check)
cs
- boolean allowRequestTimeout()