public abstract class AppListenerSupport extends Object implements ApplicationListener
CFC_EXTENSION, MODE_CURRENT, MODE_CURRENT_OR_ROOT, MODE_CURRENT2ROOT, MODE_ROOT
Constructor and Description |
---|
AppListenerSupport() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasOnApplicationStart() |
boolean |
hasOnSessionEnd(String applicationName) |
boolean |
hasOnSessionStart(PageContext pc) |
void |
onServerEnd()
this method will be called when the server shutdown correctly (no crashes)
|
void |
onServerStart()
this method will be called when a server starts
|
void |
onTimeout(PageContext pc)
will be called when server is run int a timeout
|
void |
setType(String type) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMode, getType, onApplicationEnd, onApplicationStart, onDebug, onError, onRequest, onSessionEnd, onSessionStart, setMode
public AppListenerSupport()
public boolean hasOnApplicationStart()
hasOnApplicationStart
in interface ApplicationListener
public boolean hasOnSessionStart(PageContext pc)
hasOnSessionStart
in interface ApplicationListener
public boolean hasOnSessionEnd(String applicationName)
public void onServerStart() throws PageException
ApplicationListener
onServerStart
in interface ApplicationListener
PageException
public void onServerEnd() throws PageException
ApplicationListener
onServerEnd
in interface ApplicationListener
PageException
public void onTimeout(PageContext pc)
ApplicationListener
onTimeout
in interface ApplicationListener
public final void setType(String type)
setType
in interface ApplicationListener
type
- the type to setCopyright © 2015 Lucee