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

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

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.getInterface (Showing top 20 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-frontend-jaxws

private String computeAction(OperationInfo op, String postFix) {
  StringBuilder s = new StringBuilder(op.getName().getNamespaceURI());
  if (s.charAt(s.length() - 1) != '/') {
    s.append('/');
  }
  s.append(op.getInterface().getName().getLocalPart())
    .append('/').append(op.getName().getLocalPart()).append(postFix);
  return s.toString();
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

@Override
public QName getOutPartName(OperationInfo op, Method method, int paramNumber) {
  method = getDeclaredMethod(method);
  if (paramNumber >= 0) {
    return getPartName(op, method, paramNumber, op.getOutput(), "return", false);
  }
  WebResult webResult = getWebResult(method);
  String tns = op.getOutput().getName().getNamespaceURI();
  String local = null;
  if (webResult != null) {
    if (Boolean.TRUE.equals(isRPC(method)) || isDocumentBare(method)) {
      local = webResult.partName();
    }
    if (local == null || local.length() == 0) {
      local = webResult.name();
    }
  }
  if (local == null || local.length() == 0) {
    if (Boolean.TRUE.equals(isRPC(method)) || !Boolean.FALSE.equals(isWrapped(method))) {
      local = "return";
    } else {
      local = getOperationName(op.getInterface(), method).getLocalPart() + "Response";
    }
  }
  return new QName(tns, local);
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

private QName getPartName(OperationInfo op, Method method,
             int paramNumber, MessageInfo mi, String prefix, boolean isIn) {
  int partIndex = getPartIndex(method, paramNumber, isIn);
  method = getDeclaredMethod(method);
  WebParam param = getWebParam(method, paramNumber);
  String tns = mi.getName().getNamespaceURI();
  String local = null;
  if (param != null) {
    if (Boolean.TRUE.equals(isRPC(method))
      || isDocumentBare(method)
      || param.header()) {
      local = param.partName();
    }
    if (local == null || local.length() == 0) {
      local = param.name();
    }
  }
  if (local == null || local.length() == 0) {
    if (Boolean.TRUE.equals(isRPC(method)) || !Boolean.FALSE.equals(isWrapped(method))) {
      local = getDefaultLocalName(op, method, paramNumber, partIndex, prefix);
    } else {
      local = getOperationName(op.getInterface(), method).getLocalPart();
    }
  }
  return new QName(tns, local);
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

  local = getDefaultLocalName(op, method, paramNumber, partIndex, prefix);
} else {
  local = getOperationName(op.getInterface(), method).getLocalPart();
  if (!input) {
    local += "Response";
origin: org.apache.cxf/cxf-rt-frontend-jaxws

  local = getDefaultLocalName(op, method, paramNumber, op.getOutput().size(), "return");
} else {
  local = getOperationName(op.getInterface(),
               method).getLocalPart() + "Response";
origin: apache/cxf

private String computeAction(OperationInfo op, String postFix) {
  StringBuilder s = new StringBuilder(op.getName().getNamespaceURI());
  if (s.charAt(s.length() - 1) != '/') {
    s.append('/');
  }
  s.append(op.getInterface().getName().getLocalPart())
    .append('/').append(op.getName().getLocalPart()).append(postFix);
  return s.toString();
}
origin: apache/cxf

public QName getMessagePartQName(String name) {
  return new QName(this.getOperation().getInterface().getName().getNamespaceURI(), name);
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public QName getMessagePartQName(String name) {
  return new QName(this.getOperation().getInterface().getName().getNamespaceURI(), name);
}

origin: org.apache.cxf/cxf-core

public QName getMessagePartQName(String name) {
  return new QName(this.getOperation().getInterface().getName().getNamespaceURI(), name);
}
origin: org.apache.cxf/cxf-api

public QName getMessagePartQName(String name) {
  return new QName(this.getOperation().getInterface().getName().getNamespaceURI(), name);
}

origin: org.apache.cxf/cxf-rt-bindings-soap

private static String getActionBaseUri(final OperationInfo operation) {
  String interfaceName = operation.getInterface().getName().getLocalPart();
  return addPath(operation.getName().getNamespaceURI(), interfaceName);
}
private static String getDelimiter(String uri) {
origin: apache/cxf

private static String getActionBaseUri(final OperationInfo operation) {
  String interfaceName = operation.getInterface().getName().getLocalPart();
  return addPath(operation.getName().getNamespaceURI(), interfaceName);
}
private static String getDelimiter(String uri) {
origin: apache/cxf

OperationInfo(OperationInfo op) {
  intf = op.getInterface();
  setName(op.getName());
}
origin: apache/cxf

private String getActionBaseUri(final OperationInfo operation) {
  String interfaceName = operation.getInterface().getName().getLocalPart();
  return addPath(operation.getName().getNamespaceURI(), interfaceName);
}
origin: org.apache.cxf/cxf-bundle-jaxrs

OperationInfo(OperationInfo op) {
  intf = op.getInterface();
  setName(op.getName());
}

origin: org.apache.cxf/cxf-api

OperationInfo(OperationInfo op) {
  intf = op.getInterface();
  setName(op.getName());
}

origin: org.apache.cxf/cxf-core

OperationInfo(OperationInfo op) {
  intf = op.getInterface();
  setName(op.getName());
}
origin: org.apache.cxf/cxf-rt-ws-addr

private String getActionBaseUri(final OperationInfo operation) {
  String interfaceName = operation.getInterface().getName().getLocalPart();
  return addPath(operation.getName().getNamespaceURI(), interfaceName);
}
origin: apache/cxf

private boolean checkPortTypeOperationFault(BindingFaultInfo bfi) {
  InterfaceInfo ini = null;
  if ((bfi.getBindingOperation() != null) && (bfi.getBindingOperation().getOperationInfo() != null)) {
    ini = bfi.getBindingOperation().getOperationInfo().getInterface();
  }
  return (ini != null) && (ini.getName() != null)
    && (bfi.getBindingOperation().getName() != null)
    && (bfi.getFaultInfo().getFaultName() != null)
    && wsdl11XPointer.matchesPortTypeOperationFault(
         ini.getName().getNamespaceURI(),
         ini.getName().getLocalPart(),
         bfi.getBindingOperation().getName().getLocalPart(),
         bfi.getFaultInfo().getFaultName().getLocalPart());
}
origin: org.apache.cxf/cxf-rt-ws-policy

private boolean checkPortTypeOperationFault(BindingFaultInfo bfi) {
  InterfaceInfo ini = null;
  if ((bfi.getBindingOperation() != null) && (bfi.getBindingOperation().getOperationInfo() != null)) {
    ini = bfi.getBindingOperation().getOperationInfo().getInterface();
  }
  return (ini != null) && (ini.getName() != null)
    && (bfi.getBindingOperation().getName() != null)
    && (bfi.getFaultInfo().getFaultName() != null)
    && wsdl11XPointer.matchesPortTypeOperationFault(
         ini.getName().getNamespaceURI(),
         ini.getName().getLocalPart(),
         bfi.getBindingOperation().getName().getLocalPart(),
         bfi.getFaultInfo().getFaultName().getLocalPart());
}
org.apache.cxf.service.modelOperationInfogetInterface

Popular methods of OperationInfo

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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