/** @see wicket.RequestCycle#onBeginRequest() */
 @SuppressWarnings("nls")
 @Override
 protected void onBeginRequest() {
   WebClientSession webClientSession = (WebClientSession) getSession();
   WebClient webClient = webClientSession.getWebClient();
   if (webClient != null) {
     if (webClient.getSolution() != null) {
       MDC.put("clientid", webClient.getClientID());
       MDC.put("solution", webClient.getSolution().getName());
     }
     J2DBGlobals.setServiceProvider(webClient);
     webClient.onBeginRequest(webClientSession);
   }
 }
 /** @see wicket.RequestCycle#onEndRequest() */
 @SuppressWarnings("nls")
 @Override
 protected void onEndRequest() {
   J2DBGlobals.setServiceProvider(null);
   WebClientSession webClientSession = (WebClientSession) getSession();
   WebClient webClient = webClientSession.getWebClient();
   if (webClient != null) {
     try {
       webClient.onEndRequest(webClientSession);
     } finally {
       MDC.remove("clientid");
       MDC.remove("solution");
     }
   }
 }