Examples of service()


Examples of org.exoplatform.web.WebAppController.service()

      throws ServletException, IOException
   {
      try
      {
         WebAppController controller = (WebAppController)container.getComponentInstanceOfType(WebAppController.class);
         controller.service(req, res);
      }
      catch (Throwable t)
      {
         throw new ServletException(t);
      }
View Full Code Here

Examples of org.exquery.restxq.RestXqService.service()

               
                if(log.isTraceEnabled()) {
                    log.trace("Received " + requestAdapter.getMethod().name() + " request for \"" + requestAdapter.getPath() + "\" and found Resource Function \"" + service.getResourceFunction().getFunctionSignature() + "\" in  module \"" + service.getResourceFunction().getXQueryLocation() + "\"");
                }
               
                service.service(
                    requestAdapter,
                    new HttpServletResponseAdapter(response),
                    new ResourceFunctionExecutorImpl(getPool(), request.getContextPath() + request.getServletPath(), request.getRequestURI()),
                    new RestXqServiceSerializerImpl(getPool())
                );
View Full Code Here

Examples of org.glassfish.grizzly.http.server.HttpHandler.service()

                // to be serviced directly by the WebContainer
                final HttpHandler httpHandler = ((V3Mapper) mapper).getHttpHandler();
                if (httpHandler != null) {
                    request.setNote(MAPPING_DATA, null);
//                    req.setNote(MAPPED_ADAPTER, a);
                    httpHandler.service(request, response);
                    return;
                }
            }

            final DataChunk decodedURI = request.getRequest()
View Full Code Here

Examples of org.infoglue.deliver.portal.PortalService.service()

            if(logger.isInfoEnabled())
              logger.info("---> Checking for portlet action");
             
            PortalService service = new PortalService();
              //TODO: catch PortalException?
              boolean actionExecuted = service.service(getRequest(), getResponse());
             
              // -- if an action was executed return NONE as a redirect is issued
              if (actionExecuted)
              {
                if(logger.isInfoEnabled())
View Full Code Here

Examples of org.jahia.admin.AdministrationModule.service()

                            /** todo clean up this hardcoded mess. Is it even used anymore ? */
                            if ("sharecomponents".equals(operation) && user.isRoot()) {
                                request.setAttribute("showAllComponents", Boolean.TRUE);
                            }

                            currentModule.service(request, response);
                        } else if ("sites".equals(operation) && (session.getAttribute(JahiaAdministration.CLASS_NAME + "redirectToJahia") != null)) {
                            session.setAttribute(CLASS_NAME + "configJahia", Boolean.TRUE);
                            currentModule.service(request, response);
                        }
                    } else {
View Full Code Here

Examples of org.locationtech.udig.catalog.IGeoResource.service()

        prop.addListener(l);
       
        URL id = layer.getID();
        ICatalog localCatalog = CatalogPlugin.getDefault().getLocalCatalog();
        IGeoResource resource = localCatalog.getById(IGeoResource.class, new ID(id), new NullProgressMonitor());
        IService parent = resource.service(new NullProgressMonitor());
        localCatalog.replace(parent.getID(), parent);
       
        assertEquals(0, changed[0]);
       
        assertTrue(prop.isTrue(layer, "Polygon")); //$NON-NLS-1$
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wms.WMSGeoResourceImpl.service()

        }
        else if (handle instanceof WMSGeoResourceImpl ){
            WMSGeoResourceImpl layer = (WMSGeoResourceImpl) handle;
            WMSServiceImpl wms;
            try {
                wms = layer.service( new NullProgressMonitor());
                return wms.getConnectionParams();
            } catch (IOException e) {
                checkedURL( layer.getIdentifier() );
            }                   
        }
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmsc.WMSCGeoResourceImpl.service()

       }
       else if (handle instanceof WMSCGeoResourceImpl ){
           WMSCGeoResourceImpl layer = (WMSCGeoResourceImpl) handle;
           WMSCServiceImpl wms;
           try {
               wms = layer.service( new NullProgressMonitor());
               return wms.getConnectionParams();
           } catch (IOException e) {
               checkedURL( layer.getIdentifier() );
           }                   
       }
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmt.ww.WWGeoResource.service()

        }
        else if (handle instanceof WWGeoResource ){
            WWGeoResource geoResource = (WWGeoResource) handle;
            WWService service;
            try {
                service = (WWService) geoResource.service(new NullProgressMonitor());
                return service.getConnectionParams();
            } catch (IOException e) {
                checkedURL(geoResource.getIdentifier());
            }                   
        }
View Full Code Here

Examples of org.pentaho.platform.web.servlet.ProxyServlet.service()

    request.setSession( session );
    request.setupAddParameter( "ProxyURL", "http://www.pentaho.org" ); //$NON-NLS-1$//$NON-NLS-2$

    MockHttpServletResponse response = new MockHttpServletResponse();
    ProxyServlet servlet = new ProxyServlet();
    servlet.service( request, response );
  }

}
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.