Codota Logo
OperationInfo.setParameterOrdering
Code IndexAdd Codota to your IDE (free)

How to use
setParameterOrdering
method
in
org.apache.cxf.service.model.OperationInfo

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.setParameterOrdering (Showing top 6 results out of 315)

  • Common ways to obtain OperationInfo
private void myMethod () {
OperationInfo o =
  • Codota IconBindingOperationInfo bop;bop.getOperationInfo()
  • Smart code suggestions by Codota
}
origin: org.apache.cxf/cxf-rt-core

private void setParameterOrder(Method method, Class<?>[] paramClasses, OperationInfo op) {
  if (isRPC(method) || !isWrapped(method)) {
    List<String> paramOrdering = new LinkedList<String>();
    boolean hasOut = false;
    for (int j = 0; j < paramClasses.length; j++) {
      if (Exchange.class.equals(paramClasses[j])) {
        continue;
      }
      if (isInParam(method, j)) {
        paramOrdering.add(getInPartName(op, method, j).getLocalPart());
        if (isOutParam(method, j)) {
          hasOut = true;
        }
      } else if (isOutParam(method, j)) {
        hasOut = true;
        paramOrdering.add(getOutPartName(op, method, j).getLocalPart());
      }
    }
    if (!paramOrdering.isEmpty() && hasOut) {
      op.setParameterOrdering(paramOrdering);
    }
  }
}
origin: apache/cxf

private void setParameterOrder(Method method, Class<?>[] paramClasses, OperationInfo op) {
  if (isRPC(method) || !isWrapped(method)) {
    List<String> paramOrdering = new LinkedList<>();
    boolean hasOut = false;
    for (int j = 0; j < paramClasses.length; j++) {
      if (Exchange.class.equals(paramClasses[j])) {
        continue;
      }
      if (isInParam(method, j)) {
        paramOrdering.add(getInPartName(op, method, j).getLocalPart());
        if (isOutParam(method, j)) {
          hasOut = true;
        }
      } else if (isOutParam(method, j)) {
        hasOut = true;
        paramOrdering.add(getOutPartName(op, method, j).getLocalPart());
      }
    }
    if (!paramOrdering.isEmpty() && hasOut) {
      op.setParameterOrdering(paramOrdering);
    }
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

private void setParameterOrder(Method method, Class<?>[] paramClasses, OperationInfo op) {
  if (isRPC(method) || !isWrapped(method)) {
    List<String> paramOrdering = new LinkedList<String>();
    boolean hasOut = false;
    for (int j = 0; j < paramClasses.length; j++) {
      if (Exchange.class.equals(paramClasses[j])) {
        continue;
      }
      if (isInParam(method, j)) {
        paramOrdering.add(getInPartName(op, method, j).getLocalPart());
        if (isOutParam(method, j)) {
          hasOut = true;
        }
      } else if (isOutParam(method, j)) {
        hasOut = true;
        paramOrdering.add(getOutPartName(op, method, j).getLocalPart());
      }
    }
    if (!paramOrdering.isEmpty() && hasOut) {
      op.setParameterOrdering(paramOrdering);
    }
  }
}
origin: apache/cxf

opInfo.setParameterOrdering(porderList);
this.copyExtensors(opInfo, op.getExtensibilityElements());
this.copyExtensionAttributes(opInfo, op);
origin: org.apache.cxf/cxf-rt-core

opInfo.setParameterOrdering(porderList);
this.copyExtensors(opInfo, op.getExtensibilityElements());
this.copyExtensionAttributes(opInfo, op);
origin: org.apache.cxf/cxf-bundle-jaxrs

opInfo.setParameterOrdering(porderList);
this.copyExtensors(opInfo, op.getExtensibilityElements());
this.copyExtensionAttributes(opInfo, op);
org.apache.cxf.service.modelOperationInfosetParameterOrdering

Popular methods of OperationInfo

  • getName
    Returns the name of the Operation.
  • getInput
  • getOutput
  • getInterface
  • getInputName
  • getProperty
  • getUnwrappedOperation
  • isOneWay
  • getFaults
    Returns all faults for this operation.
  • getOutputName
  • isUnwrapped
  • isUnwrappedCapable
  • isUnwrapped,
  • isUnwrappedCapable,
  • setProperty,
  • setInput,
  • setOutput,
  • createMessage,
  • hasOutput,
  • addFault,
  • hasFaults,
  • equals

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now