Examples of dispatch()


Examples of jweblite.web.dispatcher.JWebLiteRequestDispatcher.dispatch()

    JWebLiteRequestDispatcher reqDispatcher = application
        .getRequestDispatcher();
    Class<?> reqClass = null;
    String refClassName = null;
    if (reqDispatcher != null
        && (refClassName = reqDispatcher.dispatch(req.getServletPath())) != null) {
      try {
        reqClass = Class.forName(refClassName);
      } catch (Exception e) {
      }
    }
View Full Code Here

Examples of limelight.ui.events.panel.PanelEvent.dispatch()

  public void invoke(Event event)
  {
    PanelEvent panelEvent = (PanelEvent)event;
    final Panel parent = panelEvent.getRecipient().getParent();
    if(parent != null)
      panelEvent.dispatch(parent);
  }
}
View Full Code Here

Examples of net.sourceforge.pebble.web.view.View.dispatch()

            for (Object key : model.keySet()) {
              request.setAttribute(key.toString(), model.get(key.toString()));
            }

            response.setContentType(view.getContentType());
            view.dispatch(request, response, servletContext);

          }
        } catch (Exception e) {
          request.setAttribute("exception", e);
          throw new ServletException(e);
View Full Code Here

Examples of net.timewalker.ffmq3.local.session.LocalSession.dispatch()

        {
            // Dispatch to session
            for(int n=0;n<messages.size();n++)
            {
                AbstractMessage msg = (AbstractMessage)messages.get(n);
                localSession.dispatch(msg);
            }
        }
       
        // Commit session
        List deliveredMessageIDs = query.getDeliveredMessageIDs();
View Full Code Here

Examples of org.activemq.broker.BrokerClient.dispatch()

                        log.debug("Dispatching message: " + msg);
                    }
                    int[] consumerNos = new int[1];
                    consumerNos[0] = subscription.getConsumerNumber();
                    msg.setConsumerNos(consumerNos);
                    client.dispatch(msg);
                    dispatched = true;
                }
            }
        }
        return dispatched;
View Full Code Here

Examples of org.apache.activemq.ActiveMQSession.dispatch()

            activeMQAsfEndpointWorker.getConnection()
                    .onAsyncException(new JMSException(
                            "Session pool provided an invalid session type: "
                                    + s.getClass()));
        }
        session.dispatch(messageDispatch);
        serverSession.start();
    }

    public void close() {
        closing.set(true);
View Full Code Here

Examples of org.apache.camel.component.cxf.invoker.CxfClient.dispatch()

            response.setExchange(ex);
            // invoke the message prepare the context
            Map<String, Object> context = new HashMap<String, Object>();
            Map<String, Object> responseContext = CxfBinding.propogateContext(inMessage, context);

            Object result = cxfClient.dispatch(params, context, ex);
            ex.setOutMessage(response);
            invokingContext.setResponseContent(response, result);
            // copy the response context to the response
            CxfBinding.storeCXfResponseContext(response, responseContext);
            CxfBinding.storeCxfResponse(endpoint.getHeaderFilterStrategy(), exchange, response);
View Full Code Here

Examples of org.apache.catalina.AsyncDispatcher.dispatch()

        Runnable run = new Runnable() {
            @Override
            public void run() {
                request.getCoyoteRequest().action(ActionCode.ASYNC_DISPATCHED, null);
                try {
                    applicationDispatcher.dispatch(servletRequest, servletResponse);
                }catch (Exception x) {
                    //log.error("Async.dispatch",x);
                    throw new RuntimeException(x);
                }
            }
View Full Code Here

Examples of org.apache.catalina.core.ApplicationDispatcher.dispatch()

                    dispatcher.include(sreq, sres);
                } else {
                    // Reset the response (keeping the real error code and message)
                    response.resetBuffer(true);

                    dispatcher.dispatch(sreq, sres, DispatcherType.ERROR);

                    // If we forward, the response is suspended again
                    response.setSuspended(false);
                }
                sres.flushBuffer();
View Full Code Here

Examples of org.apache.cocoon.faces.FacesRedirector.dispatch()

        FacesRedirector redirector = (FacesRedirector)request.getAttribute(FacesAction.REQUEST_REDIRECTOR_ATTRIBUTE);
        if (redirector == null) {
            throw new IOException("Can not dispatch to <" + url + ">: Redirector missing.");
        }

        redirector.dispatch(url);
    }

    public String encodeActionURL(String url) {
        FacesRedirector redirector = (FacesRedirector)request.getAttribute(FacesAction.REQUEST_REDIRECTOR_ATTRIBUTE);
        if (redirector == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.