railo.runtime
Class CFMLFactory

java.lang.Object
  extended by javax.servlet.jsp.JspFactory
      extended by railo.runtime.CFMLFactory
Direct Known Subclasses:
CFMLFactoryImpl

public abstract class CFMLFactory
extends javax.servlet.jsp.JspFactory

implements a JSP Factory, this class procduce JSP Compatible PageContext Object this object holds also the must interfaces to coldfusion specified functionlity


Constructor Summary
CFMLFactory()
           
 
Method Summary
abstract  void checkTimeout()
          check timeout of all running threads, downgrade also priority from all thread run longer than 10 seconds
abstract  ConfigWeb getConfig()
           
abstract  Object getLabel()
           
abstract  QueryCache getQueryCache()
           
abstract  PageContext getRailoPageContext(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, String errorPageURL, boolean needsSession, int bufferSize, boolean autoflush)
          similar to getPageContext Method but return the concret implementation of the railo PageCOntext and take the HTTP Version of the Servlet Objects
abstract  javax.servlet.http.HttpServlet getServlet()
           
abstract  int getUsedPageContextLength()
           
abstract  void releaseRailoPageContext(PageContext pc)
          Similar to the releasePageContext Method, but take railo PageContext as entry
abstract  void resetPageContext()
          reset the PageContexes
abstract  void setLabel(String label)
          FUTURE deprecated
 
Methods inherited from class javax.servlet.jsp.JspFactory
getDefaultFactory, getEngineInfo, getPageContext, releasePageContext, setDefaultFactory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFMLFactory

public CFMLFactory()
Method Detail

resetPageContext

public abstract void resetPageContext()
reset the PageContexes


getRailoPageContext

public abstract PageContext getRailoPageContext(javax.servlet.http.HttpServlet servlet,
                                                javax.servlet.http.HttpServletRequest req,
                                                javax.servlet.http.HttpServletResponse rsp,
                                                String errorPageURL,
                                                boolean needsSession,
                                                int bufferSize,
                                                boolean autoflush)
similar to getPageContext Method but return the concret implementation of the railo PageCOntext and take the HTTP Version of the Servlet Objects

Parameters:
servlet -
req -
rsp -
errorPageURL -
needsSession -
bufferSize -
autoflush -
Returns:
return the page

releaseRailoPageContext

public abstract void releaseRailoPageContext(PageContext pc)
Similar to the releasePageContext Method, but take railo PageContext as entry

Parameters:
pc -

checkTimeout

public abstract void checkTimeout()
check timeout of all running threads, downgrade also priority from all thread run longer than 10 seconds


getQueryCache

public abstract QueryCache getQueryCache()
Returns:
returns the query cache

getUsedPageContextLength

public abstract int getUsedPageContextLength()
Returns:
returns count of pagecontext in use

getConfig

public abstract ConfigWeb getConfig()
Returns:
Returns the config.

getLabel

public abstract Object getLabel()
Returns:
label of the factory

setLabel

public abstract void setLabel(String label)
FUTURE deprecated

Parameters:
label -

getServlet

public abstract javax.servlet.http.HttpServlet getServlet()
Returns:
the servlet


Copyright © 2012 Railo