Examples of addOperation()


Examples of org.jbpm.wire.descriptor.ObjectDescriptor.addOperation()

    FieldOperation commandExecutorInjection = new FieldOperation();
    commandExecutorInjection.setFieldName("commandService");
    commandExecutorInjection.setDescriptor(commandExecutorDescriptor);
   
    descriptor.addOperation(commandExecutorInjection);

    if (element.hasAttribute("name")) {
      StringDescriptor nameDescriptor = new StringDescriptor();
      nameDescriptor.setValue(element.getAttribute("name"));
      FieldOperation nameInjection = new FieldOperation();
View Full Code Here

Examples of org.jibx.ws.wsdl.model.Definitions.addOperation()

                // add fault to operation definition
                op.addFaultMessage(fmsg);
            }
           
            // add operation to list of definitions
            def.addOperation(op);
           
        }
       
        // include embedded schema for message definitions only if needed
        if (holder.getReferences().size() > 0 || schema.getChildCount() > 0) {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.httpendpoint.TriggeredOperations.addOperation()

    private void configureOperationsToRun(Operation template, HttpEndpoint newItem, ResponseType responseType) {
        TriggeredOperations ops = new TriggeredOperations();
        OperationRunMode mode = responseType == ResponseType.OPERATION ? OperationRunMode.SYNCHRONOUS :
            OperationRunMode.ASYNCHRONOUS;
        ops.addOperation(new TriggeredOperation(template.getID(), null, mode, mode == OperationRunMode.SYNCHRONOUS,
                        isUsingRequestAsSource(template)));
        newItem.setTriggeredOperations(ops);
    }

    private boolean isUsingRequestAsSource(Operation op) {
View Full Code Here

Examples of org.jresearch.flexess.core.model.impl.PermissionMetaInfo.addOperation()

      createMetaAttribute(pm, attr);
    }
    for (Iterator<POperation> it = permission.getPOperation().iterator(); it.hasNext();) {
      POperation pop = it.next();
      ElementDescription ed = createElementDescription(pop);
      pm.addOperation(ed);
    }
    for (Iterator<Role> it = EMFUtil.getRoles(permission).iterator(); it.hasNext();) {
      Role role = it.next();
      ElementDescription ed = createElementDescription(role);
      pm.addRole(ed);
View Full Code Here

Examples of org.pentaho.platform.engine.core.solution.ContentInfo.addOperation()

            PluginOperation operation = new PluginOperation( id );
            if ( StringUtils.isNotEmpty( perspective ) ) {
              operation.setPerspective( perspective );
            }

            contentInfo.addOperation( operation );
          }
        }

        plugin.addContentInfo( contentInfo );
        if ( !StringUtils.isEmpty( metaProviderClass ) ) {
View Full Code Here

Examples of org.servicemix.jbi.management.OperationInfoHelper.addOperation()

     * @return array of OperationInfos
     * @throws JMException
     */
    public MBeanOperationInfo[] getOperationInfos() throws JMException {
        OperationInfoHelper helper = new OperationInfoHelper();
        ParameterHelper ph = helper.addOperation(getObjectToManage(), "loadNewInstaller", 1, "load a new Installer ");
        ph.setDescription(0, "installJarURL", "URL locating the install Jar");
        ph = helper.addOperation(getObjectToManage(), "loadInstaller", 1,
                "load installer for a previously installed component");
        ph.setDescription(0, "componentName", "Name of the Component");
        ph = helper.addOperation(getObjectToManage(), "unloadInstaller", 2, "unload an installer");
View Full Code Here

Examples of org.switchyard.component.common.knowledge.config.model.OperationsModel.addOperation()

                    operationModel.setType(operationType);
                    operationModel.setGlobals(toGlobalsModel(globalMappingAnnotations, bpmNamespace));
                    operationModel.setInputs(toInputsModel(inputMappingAnnotations, bpmNamespace));
                    operationModel.setOutputs(toOutputsModel(outputMappingAnnotations, bpmNamespace));
                    operationModel.setFaults(toFaultsModel(faultMappingAnnotations, bpmNamespace));
                    operationsModel.addOperation(operationModel);
                }
            }
        }
        if (!operationsModel.getOperations().isEmpty()) {
            componentImplementationModel.setOperations(operationsModel);
View Full Code Here

Examples of org.switchyard.component.common.knowledge.config.model.v1.V1OperationsModel.addOperation()

                    operationModel.setType(operationType);
                    operationModel.setGlobals(toGlobalsModel(globalMappingAnnotations, bpmNamespace));
                    operationModel.setInputs(toInputsModel(inputMappingAnnotations, bpmNamespace));
                    operationModel.setOutputs(toOutputsModel(outputMappingAnnotations, bpmNamespace));
                    operationModel.setFaults(toFaultsModel(faultMappingAnnotations, bpmNamespace));
                    operationsModel.addOperation(operationModel);
                }
            }
        }
        if (!operationsModel.getOperations().isEmpty()) {
            componentImplementationModel.setOperations(operationsModel);
View Full Code Here

Examples of org.waveprotocol.wave.federation.jso.ProtocolWaveletDeltaJsoImpl.addOperation()

  //

  private ProtocolWaveletDelta serialize(WaveletName wavelet, WaveletDelta delta) {
    ProtocolWaveletDeltaJsoImpl protocolDelta = ProtocolWaveletDeltaJsoImpl.create();
    for (WaveletOperation op : delta) {
      protocolDelta.addOperation(WaveletOperationSerializer.serialize(op));
    }
    protocolDelta.setAuthor(delta.getAuthor().getAddress());
    protocolDelta.setHashedVersion(versions.getServerVersion(wavelet, delta));
    return protocolDelta;
  }
View Full Code Here

Examples of org.wso2.carbon.bam.common.clients.BAMConfigurationDSClient.addOperation()

      public void addOperation(OperationDO operation) throws BAMException {
          BAMConfigurationDSClient client = null;
          try {
              client = BAMUtil.getBAMConfigurationDSClient();
              client.addOperation(operation);
          } catch (BAMException e) {
              throw e;
          } finally {
              if (client != null) {
                  client.cleanup();
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.