예제 #1
0
 public void service(ServletRequest request, ServletResponse response)
     throws IOException, ServletException {
   try {
     _provider.invoke((HttpServletRequest) request, (HttpServletResponse) response);
   } catch (IOException e) {
     throw e;
   } catch (ServletException e) {
     throw e;
   } catch (RuntimeException e) {
     throw e;
   } catch (Throwable e) {
     throw new ServletException(e);
   }
 }
예제 #2
0
 /** Sets the service class. */
 public void setService(Object service) throws ConfigurationException {
   _provider = ProviderEncoding.createProviderEncoding(service);
 }