railo.loader.engine
Interface CFMLEngine

All Known Implementing Classes:
CFMLEngineImpl, CFMLEngineWrapper

public interface CFMLEngine

The CFML Engine


Field Summary
static int CAN_RESTART
          Field CAN_RESTART
static int CAN_RESTART_ALL
           
static int CAN_RESTART_CONTEXT
           
static int CAN_UPDATE
          Field CAN_UPDATE
 
Method Summary
 void addServletConfig(javax.servlet.ServletConfig config)
          adds a servlet config
 boolean can(int type, String password)
          checks if process has the right to do was given with type, the engine with given password
 void cli(Map<String,String> config, javax.servlet.ServletConfig servletConfig)
           
 Object getBlazeDSUtil()
          returns the Blaze DS Util
 Cast getCastUtil()
          return the cast util
 CFMLEngineFactory getCFMLEngineFactory()
           
 CFMLFactory getCFMLFactory(javax.servlet.ServletContext srvContext, javax.servlet.ServletConfig srvConfig, javax.servlet.http.HttpServletRequest req)
           
 Creation getCreationUtil()
          returns the decision util
 Decision getDecisionUtil()
          returns the decision util
 Excepton getExceptionUtil()
          returns the decision util
 Object getFDController()
          returns the FusionDebug Engine
 HTTPUtil getHTTPUtil()
          returns the HTTP Util
 Operation getOperatonUtil()
          return the operation util
 ResourceUtil getResourceUtil()
          returns the Resource Util
 String getState()
           
 PageContext getThreadPageContext()
           
 URL getUpdateLocation()
           
 String getUpdateType()
           
 String getVersion()
           
 VideoUtil getVideoUtil()
           
 ZipUtil getZipUtil()
           
 void registerThreadPageContext(PageContext pc)
           
 void reset()
          reset the engine
 void reset(String configId)
          reset the engine
 void serviceAMF(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
          method to invoke the engine for AMF
 void serviceCFML(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
          method to invoke the engine for CFML
 void serviceFile(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
          method to invoke the engine for a simple file
 void serviceRest(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp)
          method to invoke the engine for a Rest Requests
 

Field Detail

CAN_UPDATE

static final int CAN_UPDATE
Field CAN_UPDATE

See Also:
Constant Field Values

CAN_RESTART

static final int CAN_RESTART
Field CAN_RESTART

See Also:
Constant Field Values

CAN_RESTART_ALL

static final int CAN_RESTART_ALL
See Also:
Constant Field Values

CAN_RESTART_CONTEXT

static final int CAN_RESTART_CONTEXT
See Also:
Constant Field Values
Method Detail

getCFMLFactory

CFMLFactory getCFMLFactory(javax.servlet.ServletContext srvContext,
                           javax.servlet.ServletConfig srvConfig,
                           javax.servlet.http.HttpServletRequest req)
                           throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

addServletConfig

void addServletConfig(javax.servlet.ServletConfig config)
                      throws javax.servlet.ServletException
adds a servlet config

Parameters:
config -
Throws:
javax.servlet.ServletException

serviceCFML

void serviceCFML(javax.servlet.http.HttpServlet servlet,
                 javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse rsp)
                 throws IOException,
                        javax.servlet.ServletException
method to invoke the engine for CFML

Parameters:
servlet -
req -
rsp -
Throws:
javax.servlet.ServletException
IOException
javax.servlet.ServletException

serviceAMF

void serviceAMF(javax.servlet.http.HttpServlet servlet,
                javax.servlet.http.HttpServletRequest req,
                javax.servlet.http.HttpServletResponse rsp)
                throws javax.servlet.ServletException,
                       IOException
method to invoke the engine for AMF

Parameters:
servlet -
req -
rsp -
Throws:
javax.servlet.ServletException
IOException

serviceFile

void serviceFile(javax.servlet.http.HttpServlet servlet,
                 javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse rsp)
                 throws javax.servlet.ServletException,
                        IOException
method to invoke the engine for a simple file

Parameters:
servlet -
req -
rsp -
Throws:
javax.servlet.ServletException
IOException

serviceRest

void serviceRest(javax.servlet.http.HttpServlet servlet,
                 javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse rsp)
                 throws javax.servlet.ServletException,
                        IOException
method to invoke the engine for a Rest Requests

Parameters:
servlet -
req -
rsp -
Throws:
javax.servlet.ServletException
IOException

getVersion

String getVersion()
Returns:
returns the version of the engine in the format [x.x.x.xxx]

getState

String getState()
Returns:
returns the stae of the version (alpha,beta,rc,final)

getUpdateType

String getUpdateType()
Returns:
returns how this engine will be updated (auto, manuell)

getUpdateLocation

URL getUpdateLocation()
Returns:
return location URL to get updates for the engines

can

boolean can(int type,
            String password)
checks if process has the right to do was given with type, the engine with given password

Parameters:
type - restart type (CFMLEngine.CAN_UPDATE, CFMLEngine.CAN_RESTART)
password -
Returns:
has right

getCFMLEngineFactory

CFMLEngineFactory getCFMLEngineFactory()
Returns:
returns the engine that has produced this engine

reset

void reset()
reset the engine


reset

void reset(String configId)
reset the engine


getCastUtil

Cast getCastUtil()
return the cast util

Returns:
operaton util

getOperatonUtil

Operation getOperatonUtil()
return the operation util

Returns:
operaton util

getDecisionUtil

Decision getDecisionUtil()
returns the decision util

Returns:
decision util

getExceptionUtil

Excepton getExceptionUtil()
returns the decision util

Returns:
decision util

getCreationUtil

Creation getCreationUtil()
returns the decision util

Returns:
decision util

getFDController

Object getFDController()
returns the FusionDebug Engine

Returns:
IFDController

getBlazeDSUtil

Object getBlazeDSUtil()
returns the Blaze DS Util

Returns:
Blaze DS Util

getResourceUtil

ResourceUtil getResourceUtil()
returns the Resource Util

Returns:
Blaze DS Util

getHTTPUtil

HTTPUtil getHTTPUtil()
returns the HTTP Util

Returns:
the HTTP Util

getThreadPageContext

PageContext getThreadPageContext()
Returns:
return PageContext for the current PageContext

getVideoUtil

VideoUtil getVideoUtil()

getZipUtil

ZipUtil getZipUtil()

cli

void cli(Map<String,String> config,
         javax.servlet.ServletConfig servletConfig)
         throws IOException,
                javax.servlet.jsp.JspException,
                javax.servlet.ServletException
Throws:
IOException
javax.servlet.jsp.JspException
javax.servlet.ServletException

registerThreadPageContext

void registerThreadPageContext(PageContext pc)


Copyright © 2012 Railo