Examples of process()


Examples of org.pentaho.cdf.storage.StorageEngine.process()

        String result;

        try {

            final StorageEngine storagesEngine = StorageEngine.getInstance();
            result = storagesEngine.process(requestParams, userSession);

        } catch (InvalidCdfOperationException ex) {

            final String errMessage = ex.getCause().getClass().getName() + " - " + ex.getMessage();
            logger.error("Error processing storage: " + errMessage);
View Full Code Here

Examples of org.picketlink.identity.federation.web.process.ServiceProviderBaseProcessor.process()

            baseProcessor.setIdentityURL(identityURL);
            baseProcessor.setAuditHelper(auditHelper);
            baseProcessor.setConfiguration(this.spConfiguration);
           
            saml2HandlerResponse = baseProcessor.process(httpContext, handlers, chainLock);
        } catch (ProcessingException pe) {
            logger.samlSPHandleRequestError(pe);
            throw new RuntimeException(pe);
        } catch (ParsingException pe) {
            logger.samlSPHandleRequestError(pe);
View Full Code Here

Examples of org.picketlink.identity.federation.web.process.ServiceProviderSAMLRequestProcessor.process()

        try {
            ServiceProviderSAMLRequestProcessor requestProcessor = new ServiceProviderSAMLRequestProcessor(
                    request.getMethod().equals("POST"), this.serviceURL);
            requestProcessor.setTrustKeyManager(keyManager);
            requestProcessor.setConfiguration(spConfiguration);
            boolean result = requestProcessor.process(samlRequest, httpContext, handlers, chainLock);

            if (enableAudit) {
                PicketLinkAuditEvent auditEvent = new PicketLinkAuditEvent(AuditLevel.INFO);
                auditEvent.setType(PicketLinkAuditEventType.REQUEST_FROM_IDP);
                auditEvent.setWhoIsAuditing(getContextPath());
View Full Code Here

Examples of org.picketlink.identity.federation.web.process.ServiceProviderSAMLResponseProcessor.process()

                responseProcessor.setAuditHelper(auditHelper);  
            }

            responseProcessor.setTrustKeyManager(keyManager);

            SAML2HandlerResponse saml2HandlerResponse = responseProcessor.process(samlResponse, httpContext, handlers,
                    chainLock);

            Document samlResponseDocument = saml2HandlerResponse.getResultingDocument();
            String relayState = saml2HandlerResponse.getRelayState();
View Full Code Here

Examples of org.quna.rsc.ActionListener.process()

        try {
            String string = StringByteBufferConverter.decodeToString (data);
            Message message = new Message (string);
            ActionListener listener = listenerMap.get (message.getMessageType ());
            if (listener != null) {
                listener.process (message);
            }
        } catch (ParseException ex) {
            logger.log (Level.SEVERE, "", ex);
        }
    }
View Full Code Here

Examples of org.richfaces.resource.optimizer.resource.writer.ResourceProcessor.process()

        ResourceProcessor matchingProcessor = getMatchingResourceProcessor(requestPath);
        File outFile = createOutputFile(requestPathWithSkin);

        log.debug("Opening output stream for " + outFile);
        matchingProcessor.process(requestPathWithSkin, new ResourceInputStreamSupplier(resource).openStream(),
                Files.asByteSink(outFile).openStream(), true);
        processedResources.put(ResourceUtil.getResourceQualifier(resource), requestPath);
    }

    public void writePackedResource(String packName, String skinName, Resource resource) throws IOException {
View Full Code Here

Examples of org.rsbot.loader.script.ModScript.process()

        }
        jar.close();
      }

      for (final Map.Entry<String, byte[]> entry : classes.entrySet()) {
        entry.setValue(script.process(entry.getKey(), entry.getValue()));
      }

      final ClassReader reader = new ClassReader(new ByteArrayInputStream(classes.get("client")));
      final VersionVisitor vv = new VersionVisitor();
      reader.accept(vv, ClassReader.SKIP_FRAMES);
View Full Code Here

Examples of org.saiku.service.datasource.IDatasourceProcessor.process()

              (Class<IDatasourceProcessor>)
                  Class.forName(processor);
          final Constructor<IDatasourceProcessor> ctor =
              clazz.getConstructor();
          final IDatasourceProcessor dsProcessor = ctor.newInstance();
          datasource = dsProcessor.process(datasource);
        } catch (Exception e) {
          throw new SaikuServiceException("Error applying DatasourceProcessor \"" + processor + "\"", e);
        }
      }
    }
View Full Code Here

Examples of org.salamandra.web.core.transformer.processor.Processor.process()

    Class[] paramtypes = { SAXTransformer.class };
    Constructor constructor = Class.forName(typeNode).getConstructor(paramtypes);
    Processor xProcessor = (Processor) constructor.newInstance(new Object[] { this });
    xProcessor.setBindinder(binding);
    Element elementChild = xProcessor.process(nodeKey, request, document);

    return elementChild;
  }

  protected Source getSourceTransform(HttpServletRequest request) throws SourceTransformerException {
View Full Code Here

Examples of org.semarglproject.source.StreamProcessor.process()

            serializer.setOutputWriter(writer);
            S9apiUtils.serialize(runtime, doc, serializer);
            writer.close();

            ByteArrayInputStream bais = new ByteArrayInputStream(writer.toString().getBytes("UTF-8"));
            sp.process(bais, doc.getBaseURI().toASCIIString());
        } catch (IOException e) {
            throw new XProcException(e);
        } catch (ParseException e) {
            throw new XProcException(e);
        }
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.