railo.runtime.tag
Class Application

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.Application
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class Application
extends TagImpl

Defines scoping for a CFML application, enables or disables storing client variables, and specifies a client variable storage mechanism. By default, client variables are disabled. Also, enables session variables and sets timeouts for session and application variables. Session and application variables are stored in memory.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Application()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setAction(String strAction)
           
 void setApplicationtimeout(TimeSpan applicationTimeout)
          set the value applicationtimeout Enter the CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas, to specify the lifespan of application variables.
 void setBufferoutput(boolean bufferOutput)
           
 void setCachefunction(String cacheFunction)
           
 void setCacheobject(String cacheObject)
           
 void setCachequery(String cacheQuery)
           
 void setCacheresource(String cacheResource)
           
 void setCachetemplate(String cacheTemplate)
           
 void setClientcluster(boolean clientCluster)
           
 void setClientmanagement(boolean setClientManagement)
          set the value clientmanagement Yes or No.
 void setClientstorage(String clientstorage)
          set the value clientstorage Specifies how Railo stores client variables
 void setClienttimeout(TimeSpan clientTimeout)
           
 void setComponentpaths(Object mappings)
           
 void setCustomtagpaths(Object mappings)
           
 void setDatasource(Object datasource)
           
 void setDatasources(Struct datasources)
           
 void setDefaultdatasource(Object defaultdatasource)
           
 void setInvokeimplicitaccessor(boolean invokeimplicitaccessor)
           
 void setLocalmode(String strLocalMode)
           
 void setLoginstorage(String loginstorage)
           
 void setMappings(Struct mappings)
           
 void setName(String name)
          set the value name The name of your application.
 void setOnmissingtemplate(Object oUDF)
           
 void setOrmenabled(boolean ormenabled)
           
 void setOrmsettings(Struct ormsettings)
           
 void setS3(Struct s3)
           
 void setScriptprotect(String strScriptrotect)
           
 void setSecurejson(boolean secureJson)
           
 void setSecurejsonprefix(String secureJsonPrefix)
           
 void setSessioncluster(boolean sessionCluster)
           
 void setSessionmanagement(boolean setSessionManagement)
          set the value sessionmanagement Yes or No.
 void setSessionstorage(String sessionstorage)
           
 void setSessiontimeout(TimeSpan sessionTimeout)
          set the value sessiontimeout Enter the CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas, to specify the lifespan of session variables.
 void setSessiontype(String sessionType)
           
 void setSetclientcookies(boolean setClientCookies)
          set the value setclientcookies Yes or No.
 void setSetdomaincookies(boolean setDomainCookies)
          set the value setdomaincookies Yes or No.
 void setTriggerdatamember(boolean triggerDataMember)
           
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application

public Application()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl

setSetclientcookies

public void setSetclientcookies(boolean setClientCookies)
set the value setclientcookies Yes or No. Yes enables client cookies. Default is Yes. If you set this attribute to "No", CFML does not automatically send the CFID and CFTOKEN cookies to the client browser; you must manually code CFID and CFTOKEN on the URL for every page that uses Session or Client variables.

Parameters:
setClientCookies - value to set

setSetdomaincookies

public void setSetdomaincookies(boolean setDomainCookies)
set the value setdomaincookies Yes or No. Sets the CFID and CFTOKEN cookies for a domain, not just a single host. Applications that are running on clusters must set this value to Yes. The default is No.

Parameters:
setDomainCookies - value to set

setSessionmanagement

public void setSessionmanagement(boolean setSessionManagement)
set the value sessionmanagement Yes or No. Yes enables session variables. Default is No.

Parameters:
setSessionManagement - value to set

setDatasource

public void setDatasource(Object datasource)
                   throws PageException
Parameters:
datasource - the datasource to set
Throws:
PageException

setDefaultdatasource

public void setDefaultdatasource(Object defaultdatasource)
                          throws PageException
Throws:
PageException

setDatasources

public void setDatasources(Struct datasources)

setLocalmode

public void setLocalmode(String strLocalMode)
                  throws ApplicationException
Throws:
ApplicationException

setClientstorage

public void setClientstorage(String clientstorage)
set the value clientstorage Specifies how Railo stores client variables

Parameters:
clientstorage - value to set

setSessionstorage

public void setSessionstorage(String sessionstorage)

setClientmanagement

public void setClientmanagement(boolean setClientManagement)
set the value clientmanagement Yes or No. Enables client variables. Default is No.

Parameters:
setClientManagement - value to set

setSessiontimeout

public void setSessiontimeout(TimeSpan sessionTimeout)
set the value sessiontimeout Enter the CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas, to specify the lifespan of session variables.

Parameters:
sessionTimeout - value to set

setSessiontype

public void setSessiontype(String sessionType)
                    throws ApplicationException
Throws:
ApplicationException

setClientcluster

public void setClientcluster(boolean clientCluster)

setSessioncluster

public void setSessioncluster(boolean sessionCluster)

setClienttimeout

public void setClienttimeout(TimeSpan clientTimeout)

setCachefunction

public void setCachefunction(String cacheFunction)

setCachequery

public void setCachequery(String cacheQuery)

setCachetemplate

public void setCachetemplate(String cacheTemplate)

setCacheobject

public void setCacheobject(String cacheObject)

setCacheresource

public void setCacheresource(String cacheResource)

setTriggerdatamember

public void setTriggerdatamember(boolean triggerDataMember)

setInvokeimplicitaccessor

public void setInvokeimplicitaccessor(boolean invokeimplicitaccessor)

setOrmenabled

public void setOrmenabled(boolean ormenabled)
Parameters:
ormenabled - the ormenabled to set

setOrmsettings

public void setOrmsettings(Struct ormsettings)
Parameters:
ormsettings - the ormsettings to set

setS3

public void setS3(Struct s3)
Parameters:
s3 - the s3 to set

setApplicationtimeout

public void setApplicationtimeout(TimeSpan applicationTimeout)
set the value applicationtimeout Enter the CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas, to specify the lifespan of application variables.

Parameters:
applicationTimeout - value to set

setName

public void setName(String name)
set the value name The name of your application. This name can be up to 64 characters long. Required for application and session variables, optional for client variables

Parameters:
name - value to set

setAction

public void setAction(String strAction)
               throws ApplicationException
Throws:
ApplicationException

setMappings

public void setMappings(Struct mappings)
                 throws PageException
Throws:
PageException

setCustomtagpaths

public void setCustomtagpaths(Object mappings)
                       throws PageException
Throws:
PageException

setComponentpaths

public void setComponentpaths(Object mappings)
                       throws PageException
Throws:
PageException

setSecurejsonprefix

public void setSecurejsonprefix(String secureJsonPrefix)

setSecurejson

public void setSecurejson(boolean secureJson)

setBufferoutput

public void setBufferoutput(boolean bufferOutput)

setLoginstorage

public void setLoginstorage(String loginstorage)
                     throws ApplicationException
Parameters:
loginstorage - The loginstorage to set.
Throws:
ApplicationException

setScriptprotect

public void setScriptprotect(String strScriptrotect)
Parameters:
scriptrotect - the scriptrotect to set

setOnmissingtemplate

public void setOnmissingtemplate(Object oUDF)
                          throws PageException
Throws:
PageException

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl
Throws:
PageException

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl


Copyright © 2012 Railo