Package org.apache.tuscany.sca.implementation.widget

Examples of org.apache.tuscany.sca.implementation.widget.WidgetComponentServlet


        // Register the widget's ComponentServlet under the same URI as the widget
        String widgetArtifact = implementation.getLocation();
        widgetArtifact = widgetArtifact.substring(0, widgetArtifact.lastIndexOf('.'));
        widgetArtifact = widgetArtifact.substring(widgetArtifact.lastIndexOf('/') + 1);
        servletMapping = widgetURI + "/" + widgetArtifact + ".js";
        WidgetComponentServlet widgetComponentServlet = new WidgetComponentServlet(component, servletMapping);
        servletHost.addServletMapping(servletMapping, widgetComponentServlet);       
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.implementation.widget.WidgetComponentServlet

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.