Package org.apache.tuscany.sca.implementation.jaxrs

Examples of org.apache.tuscany.sca.implementation.jaxrs.JAXRSImplementation


    public JAXRSImplementation read(XMLStreamReader reader, ProcessorContext context) throws ContributionReadException,
        XMLStreamException {

        // Read an <implementation.web> element
        JAXRSImplementation implementation = implementationFactory.createJAXRSImplementation();
        implementation.setUnresolved(true);

        String application = reader.getAttributeValue(null, "application");
        if (application != null) {
            implementation.setApplication(application);
        }

        // Skip to end element
        while (reader.hasNext()) {
            if (reader.next() == END_ELEMENT && IMPLEMENTATION_JAXRS.equals(reader.getName())) {
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.implementation.jaxrs.JAXRSImplementation

Copyright © 2018 www.massapicom. 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.