public class CFMLEngineWrapper extends java.lang.Object implements CFMLEngine, EngineChangeListener
CAN_RESTART, CAN_RESTART_ALL, CAN_RESTART_CONTEXT, CAN_UPDATE
Constructor and Description |
---|
CFMLEngineWrapper(CFMLEngine engine)
constructor of the class
|
Modifier and Type | Method and Description |
---|---|
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
|
void |
cli(java.util.Map<java.lang.String,java.lang.String> config,
javax.servlet.ServletConfig servletConfig) |
boolean |
equalTo(CFMLEngine other,
boolean checkReferenceEqualityOnly)
this interface is new to this class and not offically part of Lucee 3.x, do not use outside the loader
|
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 |
getFDController()
returns the FusionDebug Engine
|
HTTPUtil |
getHTTPUtil()
returns the HTTP Util
|
Operation |
getOperatonUtil()
return the operation util
|
ResourceUtil |
getResourceUtil()
returns the Resource Util
|
java.lang.String |
getState() |
PageContext |
getThreadPageContext() |
java.net.URL |
getUpdateLocation() |
java.lang.String |
getUpdateType() |
java.lang.String |
getVersion() |
VideoUtil |
getVideoUtil() |
ZipUtil |
getZipUtil() |
void |
onUpdate(CFMLEngine newEngine)
will be called whene there is a change oon the engine
|
void |
registerThreadPageContext(PageContext pc) |
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)
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
|
public CFMLEngineWrapper(CFMLEngine engine)
engine
- public void addServletConfig(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
CFMLEngine
addServletConfig
in interface CFMLEngine
javax.servlet.ServletException
CFMLEngine.addServletConfig(javax.servlet.ServletConfig)
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
CFMLEngine
serviceCFML
in interface CFMLEngine
javax.servlet.ServletException
java.io.IOException
CFMLEngine.serviceCFML(javax.servlet.http.HttpServlet, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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
CFMLEngine
serviceAMF
in interface CFMLEngine
javax.servlet.ServletException
java.io.IOException
CFMLEngine.serviceAMF(javax.servlet.http.HttpServlet, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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
CFMLEngine
serviceFile
in interface CFMLEngine
javax.servlet.ServletException
java.io.IOException
CFMLEngine.serviceFile(javax.servlet.http.HttpServlet, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public void serviceRest(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, java.io.IOException
CFMLEngine
serviceRest
in interface CFMLEngine
javax.servlet.ServletException
java.io.IOException
public java.lang.String getVersion()
getVersion
in interface CFMLEngine
CFMLEngine.getVersion()
public java.lang.String getUpdateType()
getUpdateType
in interface CFMLEngine
CFMLEngine.getUpdateType()
public java.net.URL getUpdateLocation()
getUpdateLocation
in interface CFMLEngine
CFMLEngine.getUpdateLocation()
public boolean can(int type, java.lang.String password)
CFMLEngine
can
in interface CFMLEngine
type
- restart type (CFMLEngine.CAN_UPDATE, CFMLEngine.CAN_RESTART)CFMLEngine.can(int, java.lang.String)
public CFMLEngineFactory getCFMLEngineFactory()
getCFMLEngineFactory
in interface CFMLEngine
CFMLEngine.getCFMLEngineFactory()
public void reset()
CFMLEngine
reset
in interface CFMLEngine
CFMLEngine.reset()
public void reset(java.lang.String configId)
CFMLEngine
reset
in interface CFMLEngine
CFMLEngine.reset(String)
public void onUpdate(CFMLEngine newEngine)
EngineChangeListener
onUpdate
in interface EngineChangeListener
newEngine
- new CFML EngineEngineChangeListener.onUpdate(lucee.loader.engine.CFMLEngine)
public Cast getCastUtil()
CFMLEngine
getCastUtil
in interface CFMLEngine
CFMLEngine.getCastUtil()
public Operation getOperatonUtil()
CFMLEngine
getOperatonUtil
in interface CFMLEngine
CFMLEngine.getOperatonUtil()
public Decision getDecisionUtil()
CFMLEngine
getDecisionUtil
in interface CFMLEngine
CFMLEngine.getDecisionUtil()
public Excepton getExceptionUtil()
CFMLEngine
getExceptionUtil
in interface CFMLEngine
CFMLEngine.getExceptionUtil()
public Creation getCreationUtil()
CFMLEngine
getCreationUtil
in interface CFMLEngine
CFMLEngine.getCreationUtil()
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
CFMLEngine.getCFMLFactory(javax.servlet.ServletContext, javax.servlet.ServletConfig, javax.servlet.http.HttpServletRequest)
public java.lang.Object getBlazeDSUtil()
CFMLEngine
getBlazeDSUtil
in interface CFMLEngine
CFMLEngine.getBlazeDSUtil()
public java.lang.Object getFDController()
CFMLEngine
getFDController
in interface CFMLEngine
CFMLEngine.getFDController()
public HTTPUtil getHTTPUtil()
CFMLEngine
getHTTPUtil
in interface CFMLEngine
CFMLEngine.getHTTPUtil()
public ResourceUtil getResourceUtil()
CFMLEngine
getResourceUtil
in interface CFMLEngine
CFMLEngine.getResourceUtil()
public PageContext getThreadPageContext()
getThreadPageContext
in interface CFMLEngine
CFMLEngine.getThreadPageContext()
public VideoUtil getVideoUtil()
getVideoUtil
in interface CFMLEngine
CFMLEngine.getVideoUtil()
public ZipUtil getZipUtil()
getZipUtil
in interface CFMLEngine
CFMLEngine.getZipUtil()
public java.lang.String getState()
getState
in interface CFMLEngine
CFMLEngine.getState()
public boolean equalTo(CFMLEngine other, boolean checkReferenceEqualityOnly)
other
- checkReferenceEqualityOnly
- public void cli(java.util.Map<java.lang.String,java.lang.String> config, javax.servlet.ServletConfig servletConfig) throws java.io.IOException, javax.servlet.jsp.JspException, javax.servlet.ServletException
cli
in interface CFMLEngine
java.io.IOException
javax.servlet.jsp.JspException
javax.servlet.ServletException
public void registerThreadPageContext(PageContext pc)
registerThreadPageContext
in interface CFMLEngine