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

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

Best Java code snippets using org.apache.cxf.service.model.OperationInfo.setProperty (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 void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method) {
  method = ((JaxWsServiceConfiguration)jaxWsConfiguration).getDeclaredMethod(method);
  o.setProperty(Method.class.getName(), method);
  o.setProperty(METHOD, method);
  initializeWrapping(o, method);
  // rpc out-message-part-info class mapping
  Operation op = (Operation)o.getProperty(WSDLServiceBuilder.WSDL_OPERATION);
  initializeClassInfo(o, method, op == null ? null
    : CastUtils.cast(op.getParameterOrdering(), String.class));
  bindOperation(o, method);
  sendEvent(Event.INTERFACE_OPERATION_BOUND, o, method);
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

op.getOperationInfo().setProperty("operation.is.synthetic", Boolean.TRUE);
origin: apache/cxf

private void addSchemaValidationSupport(OperationInfo inf, SchemaValidation annotation) {
  if (annotation != null) {
    inf.setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type());
  }
}
origin: org.apache.cxf/cxf-core

private void addSchemaValidationSupport(OperationInfo inf, SchemaValidation annotation) {
  if (annotation != null) {
    inf.setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type());
  }
}
origin: org.apache.cxf/cxf-rt-core

private void addSchemaValidationSupport(OperationInfo inf, SchemaValidation annotation) {
  if (annotation != null) {
    inf.setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type());
  }
}

origin: org.apache.cxf/cxf-bundle-jaxrs

private void addSchemaValidationSupport(OperationInfo inf, SchemaValidation annotation) {
  if (annotation != null) {
    inf.setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type());
  }
}

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

op.setProperty("operation.is.synthetic", Boolean.TRUE);
bo.setProperty("operation.is.synthetic", Boolean.TRUE);
bind.addOperation(bo);
origin: apache/cxf

operationCounter = new ObjectName(operationCounterName);
if (opInfo != null) {
  opInfo.setProperty("javax.management.ObjectName", operationCounter);
origin: apache/cxf

@Override
protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method) {
  method = ((JaxWsServiceConfiguration)jaxWsConfiguration).getDeclaredMethod(method);
  o.setProperty(Method.class.getName(), method);
  o.setProperty(METHOD, method);
  initializeWrapping(o, method);
  // rpc out-message-part-info class mapping
  Operation op = (Operation)o.getProperty(WSDLServiceBuilder.WSDL_OPERATION);
  initializeClassInfo(o, method, op == null ? null
    : CastUtils.cast(op.getParameterOrdering(), String.class));
  bindOperation(o, method);
  sendEvent(Event.INTERFACE_OPERATION_BOUND, o, method);
}
origin: apache/cxf

protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method) {
  // rpc out-message-part-info class mapping
  Operation op = (Operation)o.getProperty(WSDLServiceBuilder.WSDL_OPERATION);
  if (initializeClassInfo(o, method, op == null ? null
    : CastUtils.cast(op.getParameterOrdering(), String.class))) {
    bindOperation(o, method);
    o.setProperty(ReflectionServiceFactoryBean.METHOD, method);
    sendEvent(Event.INTERFACE_OPERATION_BOUND, o, method);
  } else {
    LOG.log(Level.WARNING, "NO_METHOD_FOR_OP", o.getName());
  }
}
origin: org.apache.cxf/cxf-rt-core

protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method) {
  // rpc out-message-part-info class mapping
  Operation op = (Operation)o.getProperty(WSDLServiceBuilder.WSDL_OPERATION);
  if (initializeClassInfo(o, method, op == null ? null
    : CastUtils.cast(op.getParameterOrdering(), String.class))) {
    bindOperation(o, method);
    o.setProperty(ReflectionServiceFactoryBean.METHOD, method);
    sendEvent(Event.INTERFACE_OPERATION_BOUND, o, method);
  } else {
    LOG.log(Level.WARNING, "NO_METHOD_FOR_OP", o.getName());
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

protected void initializeWSDLOperation(InterfaceInfo intf, OperationInfo o, Method method) {
  // rpc out-message-part-info class mapping
  Operation op = (Operation)o.getProperty(WSDLServiceBuilder.WSDL_OPERATION);
  if (initializeClassInfo(o, method, op == null ? null
    : CastUtils.cast(op.getParameterOrdering(), String.class))) {
    bindOperation(o, method);
    o.setProperty(ReflectionServiceFactoryBean.METHOD, method);
    sendEvent(Event.INTERFACE_OPERATION_BOUND, o, method);
  } else {
    LOG.log(Level.WARNING, "NO_METHOD_FOR_OP", o.getName());
  }
}
origin: org.apache.cxf/cxf-api

  private void initialise(Endpoint endpoint) {
    for (BindingOperationInfo bop : endpoint.getEndpointInfo().getBinding().getOperations()) {
      SchemaValidationType type = provider.getSchemaValidationType(bop.getOperationInfo());
      if (type != null) {
        bop.getOperationInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, type);
      }
    }
  }
}
origin: org.apache.cxf/cxf-core

  private void initialise(Endpoint endpoint) {
    for (BindingOperationInfo bop : endpoint.getEndpointInfo().getBinding().getOperations()) {
      SchemaValidationType type = provider.getSchemaValidationType(bop.getOperationInfo());
      if (type != null) {
        bop.getOperationInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, type);
      }
    }
  }
}
origin: apache/cxf

  private void initialise(Endpoint endpoint) {
    for (BindingOperationInfo bop : endpoint.getEndpointInfo().getBinding().getOperations()) {
      SchemaValidationType type = provider.getSchemaValidationType(bop.getOperationInfo());
      if (type != null) {
        bop.getOperationInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, type);
      }
    }
  }
}
origin: org.apache.cxf/cxf-bundle-jaxrs

  private void initialise(Endpoint endpoint) {
    for (BindingOperationInfo bop : endpoint.getEndpointInfo().getBinding().getOperations()) {
      SchemaValidationType type = provider.getSchemaValidationType(bop.getOperationInfo());
      if (type != null) {
        bop.getOperationInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, type);
      }
    }
  }
}
origin: apache/cxf

protected OperationInfo createOperation(ServiceInfo serviceInfo, InterfaceInfo intf, Method m) {
  OperationInfo op = intf.addOperation(getOperationName(intf, m));
  op.setProperty(m.getClass().getName(), m);
  op.setProperty("action", getAction(op, m));
  final Annotation[] annotations = m.getAnnotations();
  final Annotation[][] parAnnotations = m.getParameterAnnotations();
  op.setProperty(METHOD_ANNOTATIONS, annotations);
  op.setProperty(METHOD_PARAM_ANNOTATIONS, parAnnotations);
      op.setProperty(FORCE_TYPES, Boolean.TRUE);
origin: org.apache.servicemix/servicemix-cxf-se

serInfo.getInterface().setProperty(WSDLServiceBuilder.WSDL_PORTTYPE, null);
for (OperationInfo opInfo : serInfo.getInterface().getOperations()) {
  opInfo.setProperty(WSDLServiceBuilder.WSDL_OPERATION, null);
origin: org.apache.cxf/cxf-rt-core

private void buildInterfaceOperation(InterfaceInfo inf, Operation op) {
  OperationInfo opInfo = inf.addOperation(new QName(inf.getName().getNamespaceURI(), op.getName()));
  if (recordOriginal) {
    opInfo.setProperty(WSDL_OPERATION, op);
origin: apache/cxf

private void buildInterfaceOperation(InterfaceInfo inf, Operation op) {
  OperationInfo opInfo = inf.addOperation(new QName(inf.getName().getNamespaceURI(), op.getName()));
  if (recordOriginal) {
    opInfo.setProperty(WSDL_OPERATION, op);
org.apache.cxf.service.modelOperationInfosetProperty

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,
  • 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