Examples of ProcessorContext


Examples of org.apache.tuscany.sca.contribution.processor.ProcessorContext

            WSDLInterfaceContract wsdlInterfaceContract = wsdlFactory.createWSDLInterfaceContract();
            wsdlInterfaceContract.setInterface(wsdlInterface);
            wsdlInterfaceContract.setLocation(javaInterface.getJAXWSWSDLLocation());
            javaInterfaceContract.setNormalizedWSDLContract(wsdlInterfaceContract);
           
            ProcessorContext wsdlContext = new ProcessorContext(javaInterface.getContributionContainingClass(),
                                                                context.getMonitor());
            extensionProcessor.resolve(wsdlInterfaceContract, resolver, wsdlContext);
           
            // check that the Java and WSDL contracts are compatible
            interfaceContractMapper.checkCompatibility(wsdlInterfaceContract,
View Full Code Here

Examples of org.apache.tuscany.sca.contribution.processor.ProcessorContext

        validationSchema = registry.getExtensionPoint(ValidationSchemaExtensionPoint.class);
       
        // Get the reference binder
        endpointReferenceBinder = registry.getExtensionPoint(EndpointReferenceBinder.class);
           
        loadSystemContribution(new ProcessorContext(monitorFactory.createMonitor()));

        inited = true;
    }
View Full Code Here

Examples of org.apache.tuscany.sca.contribution.processor.ProcessorContext

       
        // create resolver entries to represent the SCA schema. We don't create artifacts
        // in the contribution as the XSD schema are only actually loaded on demand
        // so as long as they are in the model resolver we are set. We do it on the clone
        // so that every copy of the system contribution has the schema
        ProcessorContext context = new ProcessorContext(monitor);
        XSDFactory xsdFactory = modelFactories.getFactory(XSDFactory.class);
        List<String> scaSchemas = validationSchema.getSchemas();
        for (String scaSchemaLocation : scaSchemas){
            try {
                URL scaSchemaURL = new URL(scaSchemaLocation);
View Full Code Here

Examples of org.mapstruct.ap.processor.ModelElementProcessor.ProcessorContext

                // create a new context for each generated mapper in order to have imports of referenced types
                // correctly managed;
                // note that this assumes that a new source file is created for each mapper which must not
                // necessarily be the case, e.g. in case of several mapper interfaces declared as inner types
                // of one outer interface
                ProcessorContext context = new DefaultModelElementProcessorContext( processingEnv, options );
                processMapperTypeElement( context, mapperTypeElement );
            }
        }

        return ANNOTATIONS_CLAIMED_EXCLUSIVELY;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.