|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.RequestCycle
org.apache.wicket.protocol.http.WebRequestCycle
net.databinder.ExceptionFilteringRequestCycle
net.databinder.CookieRequestCycle
net.databinder.cay.DataRequestCycle
public class DataRequestCycle
Request cycle that binds Cayenne context to current thread. Context is rolled back at the end of the request if it contains uncomitted changes.
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.RequestCycle |
|---|
application, processor, request, response |
| Constructor Summary | |
|---|---|
DataRequestCycle(org.apache.wicket.protocol.http.WebApplication app,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
|
|
| Method Summary | |
|---|---|
void |
contextRequested()
Binds context to this thread. |
protected void |
onEndRequest()
Unbinds, rolling back uncomitted changes if any. |
| Methods inherited from class net.databinder.CookieRequestCycle |
|---|
applyScope, clearCookie, getCookie, getCookies |
| Methods inherited from class net.databinder.ExceptionFilteringRequestCycle |
|---|
logRuntimeException, setWarnOnlySource |
| Methods inherited from class org.apache.wicket.protocol.http.WebRequestCycle |
|---|
getProcessor, getWebRequest, getWebResponse, getWebSession, isRedirect, newClientInfo, redirectTo |
| Methods inherited from class org.apache.wicket.RequestCycle |
|---|
detach, get, getApplication, getClientInfo, getMetaData, getOriginalResponse, getPageParameters, getRedirect, getRequest, getRequestTarget, getResponse, getResponsePage, getResponsePageClass, getSession, getStartTime, isUrlForNewWindowEncoding, onBeginRequest, onRuntimeException, request, request, request, set, setAutomaticallyClearFeedbackMessages, setMetaData, setRedirect, setRequest, setRequestTarget, setResponse, setResponsePage, setResponsePage, setResponsePage, setResponsePage, setUrlForNewWindowEncoding, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, wasHandled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataRequestCycle(org.apache.wicket.protocol.http.WebApplication app,
org.apache.wicket.protocol.http.WebRequest request,
org.apache.wicket.Response response)
| Method Detail |
|---|
public void contextRequested()
contextRequested in interface CayenneRequestCycleDatabinder.getContext()protected void onEndRequest()
onEndRequest in class org.apache.wicket.RequestCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||