|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.loader.engine.CFMLEngineFactory
public class CFMLEngineFactory
Factory to load CFML Engine
Method Summary | |
---|---|
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 railo 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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
- ClassLoader
public void tlog(Object obj)
obj
- Object to outputpublic void log(Object obj)
obj
- Object to output
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |