public class CFMLEngineFactory extends Object
Modifier and Type | Method and Description |
---|---|
static File |
getClassLoaderRoot(ClassLoader cl)
returns the path where the classloader is located
|
String[] |
getInstalledPatches() |
static CFMLEngine |
getInstance()
returns instance of this factory (singelton-> always the same instance)
do auto update when changes occur
|
static CFMLEngine |
getInstance(javax.servlet.ServletConfig config)
returns instance of this factory (singelton-> always the same instance)
do auto update when changes occur
|
static CFMLEngine |
getInstance(javax.servlet.ServletConfig config,
EngineChangeListener listener)
returns instance of this factory (singelton-> always the same instance)
|
File |
getResourceRoot()
return directory to lucee resource root
|
void |
log(Object obj)
log info to output
|
static void |
registerInstance(CFMLEngine engine)
used only for internal usage
|
boolean |
removeLatestUpdate(String password)
method to initalize a update of the CFML Engine.
|
boolean |
removeUpdate(String password)
method to initalize a update of the CFML Engine.
|
boolean |
restart(String password)
restart the cfml engine
|
boolean |
restart(String configId,
String password)
restart the cfml engine
|
void |
tlog(Object obj)
log info to output
|
boolean |
update(String password)
method to initalize a update of the CFML Engine.
|
public static CFMLEngine getInstance(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
config
- javax.servlet.ServletException
public static CFMLEngine getInstance() throws RuntimeException
RuntimeException
public static void registerInstance(CFMLEngine engine) throws RuntimeException
engine
- RuntimeException
public static CFMLEngine getInstance(javax.servlet.ServletConfig config, EngineChangeListener listener) throws javax.servlet.ServletException
config
- listener
- javax.servlet.ServletException
public boolean update(String password) throws IOException, javax.servlet.ServletException
password
- IOException
javax.servlet.ServletException
public boolean restart(String password) throws IOException, javax.servlet.ServletException
password
- IOException
javax.servlet.ServletException
public boolean restart(String configId, String password) throws IOException, javax.servlet.ServletException
password
- IOException
javax.servlet.ServletException
public boolean removeUpdate(String password) throws IOException, javax.servlet.ServletException
password
- IOException
javax.servlet.ServletException
public boolean removeLatestUpdate(String password) throws IOException, javax.servlet.ServletException
password
- IOException
javax.servlet.ServletException
public String[] getInstalledPatches() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public File getResourceRoot() throws IOException
IOException
public static File getClassLoaderRoot(ClassLoader cl)
cl
- ClassLoaderCopyright © 2015 Lucee