Package org.apache.tuscany.sca.binding.jsonrpc.impl

Examples of org.apache.tuscany.sca.binding.jsonrpc.impl.JSONRPCBindingProcessor


        // Create the JSONRPC model factory
        JSONRPCBindingFactory JSONRPCFactory = new DefaultJSONRPCBindingFactory();

        // Add the JSONRPCProcessor extension
        StAXArtifactProcessorExtensionPoint processors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
        JSONRPCBindingProcessor JSONRPCBindingProcessor = new JSONRPCBindingProcessor(JSONRPCFactory);
        processors.addArtifactProcessor(JSONRPCBindingProcessor);
       
        ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
        ServletHost servletHost = registry.getExtensionPoint(ServletHost.class);
        providerFactories.addProviderFactory(new JSONRPCBindingProviderFactory(servletHost));          
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.binding.jsonrpc.impl.JSONRPCBindingProcessor

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.