railo.loader.engine
Interface CFMLEngine

All Known Implementing Classes:
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, java.lang.String password)
          checks if process has the right to do was given with type, the engine with given password
 java.lang.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
 java.lang.Object getFDEngine()
          returns the FusionDebug Engine
 HTTPUtil getHTTPUtil()
          returns the HTTP Util
 Operation getOperatonUtil()
          return the operation util
 ResourceUtil getResourceUtil()
          returns the Resource Util
 PageContext getThreadPageContext()
           
 java.net.URL getUpdateLocation()
           
 java.lang.String getUpdateType()
           
 java.lang.String getVersion()
           
 void reset()
          reset the engine
 void reset(java.lang.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)
           
 

Field Detail

CAN_UPDATE

public static final int CAN_UPDATE
Field CAN_UPDATE

See Also:
Constant Field Values

CAN_RESTART

public static final int CAN_RESTART
Field CAN_RESTART

See Also:
Constant Field Values

CAN_RESTART_ALL

public static final int CAN_RESTART_ALL
See Also:
Constant Field Values

CAN_RESTART_CONTEXT

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

getCFMLFactory

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

addServletConfig

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

Parameters:
config -
Throws:
javax.servlet.ServletException

serviceCFML

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

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

serviceAMF

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

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

serviceFile

public void serviceFile(javax.servlet.http.HttpServlet servlet,
                        javax.servlet.http.HttpServletRequest req,
                        javax.servlet.http.HttpServletResponse rsp)
                 throws javax.servlet.ServletException,
                        java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getVersion

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

getUpdateType

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

getUpdateLocation

public java.net.URL getUpdateLocation()
Returns:
return location URL to get updates for the engines

can

public boolean can(int type,
                   java.lang.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

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

reset

public void reset()
reset the engine


reset

public void reset(java.lang.String configId)
reset the engine


getCastUtil

public Cast getCastUtil()
return the cast util

Returns:
operaton util

getOperatonUtil

public Operation getOperatonUtil()
return the operation util

Returns:
operaton util

getDecisionUtil

public Decision getDecisionUtil()
returns the decision util

Returns:
decision util

getExceptionUtil

public Excepton getExceptionUtil()
returns the decision util

Returns:
decision util

getCreationUtil

public Creation getCreationUtil()
returns the decision util

Returns:
decision util

getFDEngine

public java.lang.Object getFDEngine()
returns the FusionDebug Engine

Returns:
IFDEngine

getBlazeDSUtil

public java.lang.Object getBlazeDSUtil()
returns the Blaze DS Util

Returns:
Blaze DS Util

getResourceUtil

public ResourceUtil getResourceUtil()
returns the Resource Util

Returns:
Blaze DS Util

getHTTPUtil

public HTTPUtil getHTTPUtil()
returns the HTTP Util

Returns:
the HTTP Util

getThreadPageContext

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