|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.listener.AppListenerSupport
railo.runtime.listener.ClassicAppListener
public final class ClassicAppListener
Field Summary |
---|
Fields inherited from interface railo.runtime.listener.ApplicationListener |
---|
CFC_EXTENSION, MODE_CURRENT, MODE_CURRENT2ROOT, MODE_ROOT |
Constructor Summary | |
---|---|
ClassicAppListener()
|
Method Summary | |
---|---|
int |
getMode()
|
String |
getType()
|
void |
onApplicationEnd(CFMLFactory factory,
String applicationName)
this method will be called when a application scope ends |
boolean |
onApplicationStart(PageContext pc)
this method will be called when a new application context starts |
void |
onDebug(PageContext pc)
called after "onRequestEnd" to generate debugging output, will only be called when debugging is enabled |
void |
onError(PageContext pc,
PageException pe)
this method will be called if server has a error (exception) not throwed by a try-catch block |
void |
onRequest(PageContext pc,
PageSource requestedPage)
this method will be called the application self |
void |
onSessionEnd(CFMLFactory cfmlFactory,
String applicationName,
String cfid)
this method will be called when a session ends |
void |
onSessionStart(PageContext pc)
this method will be called when a new session starts |
void |
setMode(int mode)
|
void |
setType(String type)
|
Methods inherited from class railo.runtime.listener.AppListenerSupport |
---|
hasOnSessionStart |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassicAppListener()
Method Detail |
---|
public void onRequest(PageContext pc, PageSource requestedPage) throws PageException
ApplicationListener
PageException
ApplicationListener.onRequest(railo.runtime.PageContext, railo.runtime.PageSource)
public boolean onApplicationStart(PageContext pc) throws PageException
ApplicationListener
PageException
ApplicationListener.onApplicationStart(railo.runtime.PageContext)
public void onSessionStart(PageContext pc) throws PageException
ApplicationListener
PageException
ApplicationListener.onSessionStart(railo.runtime.PageContext)
public void onApplicationEnd(CFMLFactory factory, String applicationName) throws PageException
ApplicationListener
PageException
ApplicationListener.onApplicationEnd(railo.runtime.CFMLFactory, java.lang.String)
public void onSessionEnd(CFMLFactory cfmlFactory, String applicationName, String cfid) throws PageException
ApplicationListener
PageException
ApplicationListener.onSessionEnd(railo.runtime.CFMLFactory, java.lang.String, java.lang.String)
public void onDebug(PageContext pc) throws PageException
ApplicationListener
PageException
ApplicationListener.onDebug(railo.runtime.PageContext)
public void onError(PageContext pc, PageException pe)
ApplicationListener
pe
- PageExcpetion Exception that has been throwedApplicationListener.onError(railo.runtime.PageContext, railo.runtime.exp.PageException)
public void setMode(int mode)
ApplicationListener.setMode(int)
public int getMode()
ApplicationListener.getMode()
public String getType()
public void setType(String type)
type
- the type to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |