Search in sources :

Example 1 with MethodMapper

use of org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.mapper.MethodMapper in project cxf by apache.

the class OperationProcessor method process.

public void process(JavaInterface intf, OperationInfo operation) throws ToolException {
    JavaMethod method = new MethodMapper().map(operation);
    method.setInterface(intf);
    processMethod(method, operation);
    Collection<FaultInfo> faults = operation.getFaults();
    FaultProcessor faultProcessor = new FaultProcessor(context);
    faultProcessor.process(method, faults);
    method.annotate(new WSActionAnnotator(operation));
    intf.addMethod(method);
}
Also used : FaultInfo(org.apache.cxf.service.model.FaultInfo) WSActionAnnotator(org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.annotator.WSActionAnnotator) JavaMethod(org.apache.cxf.tools.common.model.JavaMethod) MethodMapper(org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.mapper.MethodMapper)

Aggregations

FaultInfo (org.apache.cxf.service.model.FaultInfo)1 JavaMethod (org.apache.cxf.tools.common.model.JavaMethod)1 WSActionAnnotator (org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.annotator.WSActionAnnotator)1 MethodMapper (org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.mapper.MethodMapper)1