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

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

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.getUnwrappedOperation (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

@Override
protected OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m) {
  OperationInfo op = super.createOperation(serviceInfo, intf, m);
  if (op.getUnwrappedOperation() != null) {
    op = op.getUnwrappedOperation();
  }
  buildWSAActions(op, m);
  return op;
}
origin: apache/cxf

private OperationInfo getOperationInfo(OperationInfo operation) {
  if (operation.getUnwrappedOperation() != null) {
    return operation.getUnwrappedOperation();
  }
  return operation;
}
origin: org.apache.cxf/cxf-rt-core

private OperationInfo getOperationInfo(OperationInfo operation) {
  if (operation.getUnwrappedOperation() != null) {
    return operation.getUnwrappedOperation();
  }
  return operation;
}

origin: org.apache.cxf/cxf-rt-frontend-jaxws

  MessageInfo messageInfo = opInfo.getUnwrappedOperation().getInput();
  createWrapperClass(inf,
            messageInfo,
            true);
MessageInfo messageInfo = opInfo.getUnwrappedOperation().getOutput();
if (messageInfo != null) {
  inf = opInfo.getOutput().getFirstMessagePart();
origin: apache/cxf

public void bind(OperationInfo o, Method... methods) {
  Method primary = methods[0];
  for (Method m : methods) {
    methodToOp.put(m, o);
    Map<BindingInfo, BindingOperationInfo> biToBop
      = new ConcurrentHashMap<>(4, 0.75f, 2);
    infoMap.put(m, biToBop);
  }
  opToMethod.put(o, primary);
  if (o.isUnwrappedCapable()) {
    opToMethod.put(o.getUnwrappedOperation(), primary);
  }
}
origin: org.apache.cxf/cxf-rt-core

public void bind(OperationInfo o, Method... methods) {
  Method primary = methods[0];
  for (Method m : methods) {
    methodToOp.put(m, o);            
    
    Map<BindingInfo, BindingOperationInfo> biToBop 
      = new ConcurrentHashMap<BindingInfo, BindingOperationInfo>(4, 0.75f, 2);
    infoMap.put(m, biToBop);
  }
  
  opToMethod.put(o, primary);
  
  if (o.isUnwrappedCapable()) {
    opToMethod.put(o.getUnwrappedOperation(), primary);
  }
}
origin: apache/cxf

@Override
protected OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m) {
  OperationInfo op = super.createOperation(serviceInfo, intf, m);
  if (op.getUnwrappedOperation() != null) {
    op = op.getUnwrappedOperation();
  }
  buildWSAActions(op, m);
  return op;
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

    faultInfo = getFaultInfo(operation.getUnwrappedOperation(), faultAction.className());
    if (faultInfo != null && !StringUtils.isEmpty(faultAction.value())) {
      faultInfo.addExtensionAttribute(JAXWSAConstants.WSAW_ACTION_QNAME, faultAction
             computeAction(operation, f));
if (operation.isUnwrappedCapable()) {
  fi = operation.getUnwrappedOperation().getFault(fi.getName());
  fi.addExtensionAttribute(JAXWSAConstants.WSAM_ACTION_QNAME,
               computeAction(operation, f));
origin: org.apache.cxf/cxf-api

public void updateUnwrappedOperation() {
  if (opInfo.isUnwrappedCapable()
    && opHolder == null) {
    opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this);
  }        
}

origin: apache/cxf

public void updateUnwrappedOperation() {
  if (opInfo.isUnwrappedCapable()
    && opHolder == null) {
    opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this);
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public void updateUnwrappedOperation() {
  if (opInfo.isUnwrappedCapable()
    && opHolder == null) {
    opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this);
  }        
}

origin: org.apache.cxf/cxf-core

public void updateUnwrappedOperation() {
  if (opInfo.isUnwrappedCapable()
    && opHolder == null) {
    opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this);
  }
}
origin: apache/cxf

private BindingOperationInfo getRealOperation(OperationInfo o, BindingOperationInfo bop) {
  BindingOperationInfo unwrappedOp = bop.getUnwrappedOperation();
  if (unwrappedOp != null
    && unwrappedOp.getOperationInfo().equals(o.getUnwrappedOperation())) {
    bop = unwrappedOp;
  }
  return bop;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

private BindingOperationInfo getRealOperation(OperationInfo o, BindingOperationInfo bop) {
  BindingOperationInfo unwrappedOp = bop.getUnwrappedOperation();
  if (unwrappedOp != null
    && unwrappedOp.getOperationInfo().equals(o.getUnwrappedOperation())) {
    bop = unwrappedOp;
  }
  return bop;
}
origin: org.apache.cxf/cxf-core

private BindingOperationInfo getRealOperation(OperationInfo o, BindingOperationInfo bop) {
  BindingOperationInfo unwrappedOp = bop.getUnwrappedOperation();
  if (unwrappedOp != null
    && unwrappedOp.getOperationInfo().equals(o.getUnwrappedOperation())) {
    bop = unwrappedOp;
  }
  return bop;
}
origin: org.apache.cxf/cxf-rt-core

private BindingOperationInfo getRealOperation(OperationInfo o, BindingOperationInfo bop) {
  BindingOperationInfo unwrappedOp = bop.getUnwrappedOperation();
  if (unwrappedOp != null
    && unwrappedOp.getOperationInfo().equals(o.getUnwrappedOperation())) {
    bop = unwrappedOp;
  }
  return bop;
}
origin: org.apache.cxf/cxf-rt-bindings-http

public void bind(BindingOperationInfo bop, String uri, String verb) {
  ResourceInfo info = new ResourceInfo();
  info.setUri(uri);
  info.setVerb(verb);
  info.setOperation(bop);
  locations.put(bop.getOperationInfo(), uri);
  verbs.put(bop.getOperationInfo(), verb);
  if (bop.getOperationInfo().getUnwrappedOperation() != null) {
    locations.put(bop.getUnwrappedOperation().getOperationInfo(), uri);
    verbs.put(bop.getUnwrappedOperation().getOperationInfo(), verb);
  }
  resources.add(info);
}

origin: apache/cxf

@Override
protected List<JavaField> buildFields() {
  return buildFields(getMethod(), getOperationInfo().getUnwrappedOperation().getInput());
}
origin: org.apache.cxf/cxf-tools-java2ws

@Override
protected List<JavaField> buildFields() {
  return buildFields(getMethod(), getOperationInfo().getUnwrappedOperation().getOutput());
}
origin: apache/cxf

  private boolean isRefElement(MessagePartInfo outputPart, QName outElement) {
    OperationInfo wrappedOp = outputPart.getMessageInfo().getOperation().getUnwrappedOperation();
    MessagePartInfo mpart = wrappedOp.getOutput().getMessagePart(outElement);
    if (mpart == null) {
      return false;
    }
    return mpart.getProperty("isRefElement") != null;
  }
}
org.apache.cxf.service.modelOperationInfogetUnwrappedOperation

Popular methods of OperationInfo

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

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
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