public void onRequestHandlerExecuted(RequestCycle cycle, IRequestHandler handler) {
if(LOG.isDebugEnabled()) {
LOG.debug("onRequestHandlerExecuted: handler: " + handler);
}
final IsisSession session = getIsisContext().getSessionInstance();
if (session != null) {
try {
// will commit (or abort) the transaction;
// an abort will cause the exception to be thrown.
getTransactionManager().endTransaction();