|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.engine.CFMLEngineImpl
public final class CFMLEngineImpl
The CFMl Engine
Field Summary |
---|
Fields inherited from interface railo.loader.engine.CFMLEngine |
---|
CAN_RESTART, CAN_RESTART_ALL, CAN_RESTART_CONTEXT, CAN_UPDATE |
Method Summary | |
---|---|
void |
addServletConfig(javax.servlet.ServletConfig config)
adds a servlet config |
boolean |
allowRequestTimeout()
|
void |
allowRequestTimeout(boolean allowRequestTimeout)
|
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()
|
Map<String,CFMLFactory> |
getCFMLFactories()
|
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 |
static CFMLEngine |
getInstance()
get singelton instance of the CFML Engine, throwsexception when not already init |
static CFMLEngine |
getInstance(CFMLEngineFactory factory)
get singelton instance of the CFML Engine |
Operation |
getOperatonUtil()
return the operation util |
ResourceUtil |
getResourceUtil()
returns the Resource Util |
javax.servlet.ServletConfig[] |
getServletConfigs()
|
String |
getState()
|
PageContext |
getThreadPageContext()
|
URL |
getUpdateLocation()
|
String |
getUpdateType()
|
String |
getVersion()
|
VideoUtil |
getVideoUtil()
|
ZipUtil |
getZipUtil()
|
boolean |
isRunning()
|
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 |
void |
touchMonitor(ConfigServerImpl cs)
|
long |
uptime()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void touchMonitor(ConfigServerImpl cs)
public static CFMLEngine getInstance(CFMLEngineFactory factory)
factory
-
public static CFMLEngine getInstance() throws javax.servlet.ServletException
factory
-
javax.servlet.ServletException
public void addServletConfig(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
CFMLEngine
addServletConfig
in interface CFMLEngine
javax.servlet.ServletException
public CFMLFactory getCFMLFactory(javax.servlet.ServletContext srvContext, javax.servlet.ServletConfig srvConfig, javax.servlet.http.HttpServletRequest req) throws javax.servlet.ServletException
getCFMLFactory
in interface CFMLEngine
javax.servlet.ServletException
public void serviceCFML(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
CFMLEngine
serviceCFML
in interface CFMLEngine
javax.servlet.ServletException
IOException
public void serviceFile(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
CFMLEngine
serviceFile
in interface CFMLEngine
javax.servlet.ServletException
IOException
public void serviceRest(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
CFMLEngine
serviceRest
in interface CFMLEngine
javax.servlet.ServletException
IOException
public String getVersion()
getVersion
in interface CFMLEngine
public String getUpdateType()
getUpdateType
in interface CFMLEngine
public URL getUpdateLocation()
getUpdateLocation
in interface CFMLEngine
public boolean can(int type, String password)
CFMLEngine
can
in interface CFMLEngine
type
- restart type (CFMLEngine.CAN_UPDATE, CFMLEngine.CAN_RESTART)
public CFMLEngineFactory getCFMLEngineFactory()
getCFMLEngineFactory
in interface CFMLEngine
public void serviceAMF(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
CFMLEngine
serviceAMF
in interface CFMLEngine
javax.servlet.ServletException
IOException
public void reset()
CFMLEngine
reset
in interface CFMLEngine
public void reset(String configId)
CFMLEngine
reset
in interface CFMLEngine
public Cast getCastUtil()
CFMLEngine
getCastUtil
in interface CFMLEngine
public Operation getOperatonUtil()
CFMLEngine
getOperatonUtil
in interface CFMLEngine
public Decision getDecisionUtil()
CFMLEngine
getDecisionUtil
in interface CFMLEngine
public Excepton getExceptionUtil()
CFMLEngine
getExceptionUtil
in interface CFMLEngine
public Creation getCreationUtil()
CFMLEngine
getCreationUtil
in interface CFMLEngine
public Object getBlazeDSUtil()
CFMLEngine
getBlazeDSUtil
in interface CFMLEngine
public Object getFDController()
CFMLEngine
getFDController
in interface CFMLEngine
public Map<String,CFMLFactory> getCFMLFactories()
public ResourceUtil getResourceUtil()
CFMLEngine
getResourceUtil
in interface CFMLEngine
public HTTPUtil getHTTPUtil()
CFMLEngine
getHTTPUtil
in interface CFMLEngine
public PageContext getThreadPageContext()
getThreadPageContext
in interface CFMLEngine
public void registerThreadPageContext(PageContext pc)
registerThreadPageContext
in interface CFMLEngine
public VideoUtil getVideoUtil()
getVideoUtil
in interface CFMLEngine
public ZipUtil getZipUtil()
getZipUtil
in interface CFMLEngine
public String getState()
getState
in interface CFMLEngine
public void allowRequestTimeout(boolean allowRequestTimeout)
public boolean allowRequestTimeout()
public boolean isRunning()
public void cli(Map<String,String> config, javax.servlet.ServletConfig servletConfig) throws IOException, javax.servlet.jsp.JspException, javax.servlet.ServletException
cli
in interface CFMLEngine
IOException
javax.servlet.jsp.JspException
javax.servlet.ServletException
public javax.servlet.ServletConfig[] getServletConfigs()
public long uptime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |