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