|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationListener
interface for PageContext to interact with CFML
Field Summary | |
---|---|
static String |
CFC_EXTENSION
|
static int |
MODE_CURRENT
|
static int |
MODE_CURRENT2ROOT
|
static int |
MODE_ROOT
|
Method Summary | |
---|---|
int |
getMode()
|
String |
getType()
|
void |
onApplicationEnd(CFMLFactory cfmlFactory,
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)
|
Field Detail |
---|
static final int MODE_CURRENT2ROOT
static final int MODE_CURRENT
static final int MODE_ROOT
static final String CFC_EXTENSION
Method Detail |
---|
void setMode(int mode)
int getMode()
String getType()
void setType(String type)
type
- the type to setvoid onRequest(PageContext pc, PageSource requestedPage) throws PageException
pc
- requestedPage
-
PageException
javax.servlet.ServletException
void onSessionStart(PageContext pc) throws PageException
PageException
void onSessionEnd(CFMLFactory cfmlFactory, String applicationName, String cfid) throws PageException
cfmlFactory
- applicationName
- cfid
-
PageException
boolean onApplicationStart(PageContext pc) throws PageException
PageException
void onApplicationEnd(CFMLFactory cfmlFactory, String applicationName) throws PageException
PageException
void onError(PageContext pc, PageException pe)
pe
- PageExcpetion Exception that has been throwedvoid onDebug(PageContext pc) throws PageException
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |