|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transactional
CollectionAdapter implementations can implement the Transactional interface in order to support start/end/compensate behaviors. Providers will invoke the start/end methods before/after calling the appropriate CollectionAdapter methods and will call compensate if an error occurs
| Method Summary | |
|---|---|
void |
compensate(RequestContext request,
Throwable t)
Called by the provider when a processing error occurs |
void |
end(RequestContext request,
ResponseContext response)
Called by the provider after dispatching the request to the adapter |
void |
start(RequestContext request)
Called by the provider before dispatching the request to the adapter |
| Method Detail |
|---|
void start(RequestContext request)
throws ResponseContextException
ResponseContextException
void end(RequestContext request,
ResponseContext response)
void compensate(RequestContext request,
Throwable t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||