railo.runtime.listener
Class ApplicationContextSupport

java.lang.Object
  extended by railo.runtime.listener.ApplicationContextSupport
All Implemented Interfaces:
Serializable, ApplicationContext, ApplicationContextPro
Direct Known Subclasses:
ClassicApplicationContext, ModernApplicationContext

public abstract class ApplicationContextSupport
extends Object
implements ApplicationContextPro

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface railo.runtime.listener.ApplicationContext
SCRIPT_PROTECT_ALL, SCRIPT_PROTECT_CGI, SCRIPT_PROTECT_COOKIE, SCRIPT_PROTECT_FORM, SCRIPT_PROTECT_NONE, SCRIPT_PROTECT_URL
 
Constructor Summary
ApplicationContextSupport()
           
 
Method Summary
 DataSource getDataSource(String dataSourceName)
           
 DataSource getDataSource(String dataSourceName, DataSource defaultValue)
           
 String getSecurityApplicationToken()
           
 String getSecurityCookieDomain()
           
 int getSecurityIdleTimeout()
           
 void setSecuritySettings(String applicationtoken, String cookiedomain, int idletimeout)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.runtime.listener.ApplicationContextPro
getBufferOutput, getDataSources, getDefDataSource, getORMDataSource, setBufferOutput, setDataSources, setDefDataSource, setORMDataSource
 
Methods inherited from interface railo.runtime.listener.ApplicationContext
getApplicationTimeout, getClientCluster, getClientstorage, getClientTimeout, getComponentMappings, getCustomTagMappings, getDefaultCacheName, getDefaultDataSource, getJavaSettings, getLocalMode, getLoginStorage, getMappings, getName, getORMConfiguration, getORMDatasource, getRestCFCLocations, getRestSettings, getS3, getSameFieldAsArray, getScriptProtect, getSecureJson, getSecureJsonPrefix, getSessionCluster, getSessionstorage, getSessionTimeout, getSessionType, getSource, getTriggerComponentDataMember, hasName, isORMEnabled, isSetClientCookies, isSetClientManagement, isSetDomainCookies, isSetSessionManagement, reinitORM, setApplicationTimeout, setClientCluster, setClientstorage, setClientTimeout, setComponentMappings, setCustomTagMappings, setDefaultCacheName, setDefaultDataSource, setLocalMode, setLoginStorage, setMappings, setORMConfiguration, setORMDatasource, setORMEnabled, setS3, setScriptProtect, setSecureJson, setSecureJsonPrefix, setSessionCluster, setSessionstorage, setSessionTimeout, setSessionType, setSetClientCookies, setSetClientManagement, setSetDomainCookies, setSetSessionManagement, setTriggerComponentDataMember
 

Constructor Detail

ApplicationContextSupport

public ApplicationContextSupport()
Method Detail

setSecuritySettings

public void setSecuritySettings(String applicationtoken,
                                String cookiedomain,
                                int idletimeout)
Specified by:
setSecuritySettings in interface ApplicationContext

getSecurityApplicationToken

public String getSecurityApplicationToken()
Specified by:
getSecurityApplicationToken in interface ApplicationContext

getSecurityCookieDomain

public String getSecurityCookieDomain()
Specified by:
getSecurityCookieDomain in interface ApplicationContext

getSecurityIdleTimeout

public int getSecurityIdleTimeout()
Specified by:
getSecurityIdleTimeout in interface ApplicationContext

getDataSource

public DataSource getDataSource(String dataSourceName,
                                DataSource defaultValue)
Specified by:
getDataSource in interface ApplicationContextPro

getDataSource

public DataSource getDataSource(String dataSourceName)
                         throws ApplicationException
Specified by:
getDataSource in interface ApplicationContextPro
Throws:
ApplicationException


Copyright © 2012 Railo