Examples of OperationInfo


Examples of com.salesforce.dataloader.action.OperationInfo

    private void doExtractAccountDb(String processName, int expectedSuccesses, int expectedFailures, boolean isInsert)
            throws ProcessInitializationException, DataAccessObjectException {

        // specify the name of the configured process and select appropriate database access type
        OperationInfo op = isInsert ? OperationInfo.insert : OperationInfo.update;
        Map<String, String> argMap = getTestConfig();
        argMap.put(Config.OPERATION, OperationInfo.extract.name());
        argMap.put(ProcessRunner.PROCESS_NAME, processName);
        argMap.put(Config.DAO_NAME, op.name() + "Account");
        argMap.put(Config.OUTPUT_SUCCESS, new File(getTestStatusDir(), baseName + op.name() + "Success.csv")
        .getAbsolutePath());
        argMap.put(Config.OUTPUT_ERROR, new File(getTestStatusDir(), baseName + op.name() + "Error.csv")
        .getAbsolutePath());
        argMap.put(Config.ENABLE_EXTRACT_STATUS_OUTPUT, Config.TRUE);
        argMap.put(Config.DAO_WRITE_BATCH_SIZE, String.valueOf(BATCH_SIZE));

        Date startTime = new Date();
View Full Code Here

Examples of com.sun.org.apache.commons.modeler.OperationInfo

            {
                continue;
            }
        }
       
        OperationInfo operationInfo;

        //**** A T T R I B U T E S ******
//        attrs.remove("x_path");
//        attrs.remove("attribute_names");
//        attrs.remove("monitoring_enabled");
View Full Code Here

Examples of easysm.datatypes.information.OperationInfo

      jtextfield_name.selectAll();
      jtextfield_name.requestFocus();
      return;
    }

    OperationInfo newOperation = new OperationInfo(name, classToMod, parametersOfOperation, typeOfOperation);

    if (operationToMod == null)
      updateInputCD.addCDElement(newOperation);
    else
      updateInputCD.updateCDElement(operationToMod, newOperation);
View Full Code Here

Examples of eu.planets_project.tb.gui.backing.admin.wsclient.util.OperationInfo

    operationSelectItem = null;
    if (serviceSelectItem != null) {
      Iterator operationIterator = ((ServiceInfo)serviceInfos.get(serviceSelectItem.getValue())).getOperations();
      boolean firstLoop = true;       
      while (operationIterator.hasNext()) {
        OperationInfo operationInfo = (OperationInfo)operationIterator.next();
        SelectItem operationSelectItem = new SelectItem(operationInfo.getTargetMethodName());
        Iterator operationSelectItemsIterator = operationSelectItems.iterator();
        boolean alreadyInserted = false;
        while (operationSelectItemsIterator.hasNext()) {
          if (operationSelectItem.getValue().equals(((SelectItem)operationSelectItemsIterator.next()).getValue())) {
            alreadyInserted = true;
            break;
         
          else;
        }
        if (!alreadyInserted)
          operationSelectItems.add(operationSelectItem);
        if (!operationInfos.containsKey(operationInfo.getTargetMethodName()))
          operationInfos.put(operationInfo.getTargetMethodName(), operationInfo);
        else ;
        if (firstLoop) {
          this.operationSelectItem = operationSelectItem;
          firstLoop = false;
        }
View Full Code Here

Examples of oracle.binding.OperationInfo

        // No operation to invoke, return false.
        if (action == null) {
            return false; // false means we did not handle this call
        }

        final OperationInfo operationInfo = action.getOperationInfo(); // is DCInvokeMethod
        if (!(operationInfo instanceof DCInvokeMethod)) {
            return false; // false means we did not handle this call
        }

        final BindingContext bindingContext = (BindingContext) map;
        final DCBindingContainer bindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();
        final String methodName = operationInfo.getOperationName();

        // check for situation where the operation comes from a customization-class
        // annotation
        final Object instance = resolveAsExpression(bindingContext, bindings, operationInfo.getInstanceName());
        if (instance instanceof XMLDCElement) {
            XMLDCElement xmldce = (XMLDCElement) instance;
            if (xmldce.hasMethod(methodName, action.getParamsMap())) {
                // TODO: logging
                logger.fine("invoking @Operation method {0} on {1}, new Object[]{methodName, instance}");
View Full Code Here

Examples of org.apache.commons.modeler.OperationInfo

        Node firstN;
        firstN = DomUtil.getChild(mbeanNode, "operation");
        for (Node descN = firstN; descN != null; descN = DomUtil.getNext(descN)) {

            // Create new operation info
            OperationInfo oi = new OperationInfo();
            DomUtil.setAttributes(oi, descN);

            // Process descriptor subnode
            Node firstDescriptorN = DomUtil.getChild(descN, "descriptor");
            if (firstDescriptorN != null) {
                Node firstFieldN = DomUtil.getChild(firstDescriptorN, "field");
                for (Node fieldN = firstFieldN; fieldN != null; fieldN = DomUtil.getNext(fieldN)) {
                    FieldInfo fi = new FieldInfo();
                    DomUtil.setAttributes(fi, fieldN);
                    oi.addField(fi);
                }
            }

            // Process parameter subnodes
            Node firstParamN = DomUtil.getChild(descN, "parameter");
            for (Node paramN = firstParamN; paramN != null; paramN = DomUtil.getNext(paramN)) {
                ParameterInfo pi = new ParameterInfo();
                DomUtil.setAttributes(pi, paramN);
                oi.addParameter(pi);
            }

            // Add this info to our managed bean info
            managed.addOperation(oi);
View Full Code Here

Examples of org.apache.cxf.service.model.OperationInfo

                            Exchange exchange = message.getExchange();
                            Service service = exchange.get(Service.class);
                            if (service != null) {
                                description.append('\'');
                                description.append(service.getName());
                                OperationInfo opInfo = exchange.get(OperationInfo.class);
                                if (opInfo != null) {
                                    description.append("#").append(opInfo.getName());
                                }
                                description.append("\' ");
                            }
                        }
View Full Code Here

Examples of org.apache.geronimo.axis.client.OperationInfo

    }
*/

    public void testBuildOperationInfo() throws Exception {
        AxisBuilder builder = new AxisBuilder(null);
        OperationInfo operationInfo = buildOperationInfoForMockOperation(builder);
        assertNotNull(operationInfo);
    }
View Full Code Here

Examples of org.apache.geronimo.axis.client.OperationInfo

        ExtensionRegistry extensionRegistry = factory.newPopulatedExtensionRegistry();
        BindingOperation bindingOperation = buildBindingOperation(definition, extensionRegistry);

        Style defaultStyle = Style.DOCUMENT;

        OperationInfo operationInfo = builder.buildOperationInfoLightweight(method, bindingOperation, defaultStyle, SOAPConstants.SOAP11_CONSTANTS);
        return operationInfo;
    }
View Full Code Here

Examples of org.apache.geronimo.axis.client.OperationInfo

            if (bindingOperation == null) {
                throw new DeploymentException("No BindingOperation for operation: " + operationName + ", input: " + operation.getInput().getName() + ", output: " + (operation.getOutput() == null ? "<none>" : operation.getOutput().getName()));
            }
            ServiceEndpointMethodMappingType methodMapping = WSDescriptorParser.getMethodMappingForOperation(operationName, methodMappings);
            HeavyweightOperationDescBuilder operationDescBuilder = new HeavyweightOperationDescBuilder(bindingOperation, mapping, methodMapping, portStyle, exceptionMap, schemaInfoBuilder, javaXmlTypeMappings, classLoader, serviceEndpointInterface);
            OperationInfo operationInfo = operationDescBuilder.buildOperationInfo(soapVersion);
            operationInfos[i++] = operationInfo;
            operationDescs.add(operationInfo.getOperationDesc());
            wrapperElementQNames.addAll(operationDescBuilder.getWrapperElementQNames());
            hasEncoded |= operationDescBuilder.isEncoded();
        }
        HeavyweightTypeInfoBuilder builder = new HeavyweightTypeInfoBuilder(classLoader, schemaInfoBuilder.getSchemaTypeKeyToSchemaTypeMap(), wrapperElementQNames, operationDescs, hasEncoded);
        List typeInfo = builder.buildTypeInfo(mapping);
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.