public class CFMLEngineWrapper extends Object implements CFMLEngine
CAN_RESTART, CAN_RESTART_ALL, CAN_RESTART_CONTEXT, CAN_UPDATE, DIALECT_BOTH, DIALECT_CFML, DIALECT_LUCEE
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,
Password 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) |
ConfigWeb |
createConfig(File contextRoot,
String host,
String scriptName) |
PageContext |
createPageContext(File contextRoot,
String host,
String scriptName,
String queryString,
javax.servlet.http.Cookie[] cookies,
Map<String,Object> headers,
Map<String,String> parameters,
Map<String,Object> attributes,
OutputStream os,
long timeout,
boolean register)
create and register a PageContext, use releasePageContext when done
|
boolean |
equalTo(CFMLEngine other,
boolean checkReferenceEqualityOnly)
this interface is new to this class and not officially part of Lucee 3.x, do not use outside the
loader
|
BundleCollection |
getBundleCollection() |
org.osgi.framework.BundleContext |
getBundleContext() |
Cast |
getCastUtil()
return the cast util
|
CFMLEngineFactory |
getCFMLEngineFactory() |
CFMLFactory |
getCFMLFactory(javax.servlet.ServletConfig srvConfig,
javax.servlet.http.HttpServletRequest req) |
ClassUtil |
getClassUtil() |
ConfigServer |
getConfigServer(Password password) |
ConfigServer |
getConfigServer(String key,
long timeNonce) |
Creation |
getCreationUtil()
returns the decision util
|
DBUtil |
getDBUtil() |
Decision |
getDecisionUtil()
returns the decision util
|
CFMLEngine |
getEngine() |
Excepton |
getExceptionUtil()
returns the decision util
|
Object |
getFDController()
returns the FusionDebug Engine
|
HTMLUtil |
getHTMLUtil() |
HTTPUtil |
getHTTPUtil()
returns the HTTP Util
|
Identification |
getIdentification() |
Info |
getInfo() |
Instrumentation |
getInstrumentation() |
IO |
getIOUtil()
returns the IO util
|
Object |
getJavaProxyUtil() |
ListUtil |
getListUtil() |
Operation |
getOperatonUtil()
return the operation util
|
ORMUtil |
getORMUtil() |
ResourceUtil |
getResourceUtil()
returns the Resource Util
|
ScriptEngineFactory |
getScriptEngineFactory(int dialect) |
javax.servlet.ServletConfig[] |
getServletConfigs() |
Strings |
getStringUtil()
returns the IO util
|
SystemUtil |
getSystemUtil() |
ScriptEngineFactory |
getTagEngineFactory(int dialect) |
TemplateUtil |
getTemplateUtil() |
Config |
getThreadConfig() |
PageContext |
getThreadPageContext() |
TimeZone |
getThreadTimeZone() |
URL |
getUpdateLocation() |
String |
getUpdateType() |
String |
getVersion() |
VideoUtil |
getVideoUtil() |
ZipUtil |
getZipUtil() |
boolean |
isIdentical(CFMLEngine engine) |
void |
registerThreadPageContext(PageContext pc) |
void |
releasePageContext(PageContext pc,
boolean unregister) |
void |
reset()
reset the engine
|
void |
reset(String configId)
reset the engine
|
void |
service(javax.servlet.http.HttpServlet servlet,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp)
method to invoke the engine for a regular Lucee call
|
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 |
setEngine(CFMLEngine engine) |
long |
uptime() |
public CFMLEngineWrapper(CFMLEngine engine)
engine
- public void addServletConfig(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
CFMLEngine
addServletConfig
in interface CFMLEngine
javax.servlet.ServletException
public void service(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp) throws javax.servlet.ServletException, IOException
CFMLEngine
service
in interface CFMLEngine
javax.servlet.ServletException
IOException
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 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 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 Identification getIdentification()
getIdentification
in interface CFMLEngine
public boolean can(int type, Password password)
CFMLEngine
can
in interface CFMLEngine
type
- restart type (CFMLEngine.CAN_UPDATE, CFMLEngine.CAN_RESTART)public CFMLEngineFactory getCFMLEngineFactory()
getCFMLEngineFactory
in interface CFMLEngine
public void reset()
CFMLEngine
reset
in interface CFMLEngine
public void reset(String configId)
CFMLEngine
reset
in interface CFMLEngine
public void setEngine(CFMLEngine engine)
public CFMLEngine getEngine()
public boolean isIdentical(CFMLEngine engine)
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 getJavaProxyUtil()
getJavaProxyUtil
in interface CFMLEngine
public IO getIOUtil()
CFMLEngine
getIOUtil
in interface CFMLEngine
public CFMLFactory getCFMLFactory(javax.servlet.ServletConfig srvConfig, javax.servlet.http.HttpServletRequest req) throws javax.servlet.ServletException
getCFMLFactory
in interface CFMLEngine
javax.servlet.ServletException
public Object getFDController()
CFMLEngine
getFDController
in interface CFMLEngine
public HTTPUtil getHTTPUtil()
CFMLEngine
getHTTPUtil
in interface CFMLEngine
public ResourceUtil getResourceUtil()
CFMLEngine
getResourceUtil
in interface CFMLEngine
public PageContext getThreadPageContext()
getThreadPageContext
in interface CFMLEngine
public Config getThreadConfig()
getThreadConfig
in interface CFMLEngine
public VideoUtil getVideoUtil()
getVideoUtil
in interface CFMLEngine
public ZipUtil getZipUtil()
getZipUtil
in interface CFMLEngine
public Strings getStringUtil()
CFMLEngine
getStringUtil
in interface CFMLEngine
public boolean equalTo(CFMLEngine other, boolean checkReferenceEqualityOnly)
other
- checkReferenceEqualityOnly
- 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 void registerThreadPageContext(PageContext pc)
registerThreadPageContext
in interface CFMLEngine
public ConfigServer getConfigServer(Password password) throws PageException
getConfigServer
in interface CFMLEngine
PageException
public ConfigServer getConfigServer(String key, long timeNonce) throws PageException
getConfigServer
in interface CFMLEngine
PageException
public long uptime()
uptime
in interface CFMLEngine
public Info getInfo()
getInfo
in interface CFMLEngine
public org.osgi.framework.BundleContext getBundleContext()
getBundleContext
in interface CFMLEngine
public ClassUtil getClassUtil()
getClassUtil
in interface CFMLEngine
public ScriptEngineFactory getScriptEngineFactory(int dialect)
getScriptEngineFactory
in interface CFMLEngine
public ScriptEngineFactory getTagEngineFactory(int dialect)
getTagEngineFactory
in interface CFMLEngine
public javax.servlet.ServletConfig[] getServletConfigs()
getServletConfigs
in interface CFMLEngine
public ListUtil getListUtil()
getListUtil
in interface CFMLEngine
public DBUtil getDBUtil()
getDBUtil
in interface CFMLEngine
public ORMUtil getORMUtil()
getORMUtil
in interface CFMLEngine
public TemplateUtil getTemplateUtil()
getTemplateUtil
in interface CFMLEngine
public PageContext createPageContext(File contextRoot, String host, String scriptName, String queryString, javax.servlet.http.Cookie[] cookies, Map<String,Object> headers, Map<String,String> parameters, Map<String,Object> attributes, OutputStream os, long timeout, boolean register) throws javax.servlet.ServletException
CFMLEngine
createPageContext
in interface CFMLEngine
javax.servlet.ServletException
public void releasePageContext(PageContext pc, boolean unregister)
releasePageContext
in interface CFMLEngine
public ConfigWeb createConfig(File contextRoot, String host, String scriptName) throws javax.servlet.ServletException
createConfig
in interface CFMLEngine
javax.servlet.ServletException
public BundleCollection getBundleCollection()
getBundleCollection
in interface CFMLEngine
public HTMLUtil getHTMLUtil()
getHTMLUtil
in interface CFMLEngine
public TimeZone getThreadTimeZone()
getThreadTimeZone
in interface CFMLEngine
public SystemUtil getSystemUtil()
getSystemUtil
in interface CFMLEngine
public Instrumentation getInstrumentation()
getInstrumentation
in interface CFMLEngine
Copyright © 2019. All rights reserved.