Package org.apache.tuscany.sca.node.impl

Examples of org.apache.tuscany.sca.node.impl.RuntimeBootStrapper


    public EmbeddedSCADomain(ClassLoader runtimeClassLoader,
                            String domainURI) {
        this.uri = domainURI;
       
        // Create a runtime
        runtime = new RuntimeBootStrapper(runtimeClassLoader);
    }
View Full Code Here


    }

    private void setDefaultPort() {
        URI uri = URI.create(domainURI);
        if (uri.getPort() > -1) {
            RuntimeBootStrapper rt = ((NodeImpl)node).getRuntime();
            ServletHostExtensionPoint sh = rt.getExtensionPointRegistry().getExtensionPoint(ServletHostExtensionPoint.class);
            if (sh != null && sh.getServletHosts() != null && !sh.getServletHosts().isEmpty()) {
                sh.getServletHosts().get(0).setDefaultPort(uri.getPort());
            }
        }
    }
View Full Code Here

    }

    private void setDefaultPort() {
        URI uri = URI.create(domainURI);
        if (uri.getPort() > -1) {
            RuntimeBootStrapper rt = ((NodeImpl)node).getRuntime();
            ServletHostExtensionPoint sh = rt.getExtensionPointRegistry().getExtensionPoint(ServletHostExtensionPoint.class);
            if (sh != null && sh.getServletHosts() != null && !sh.getServletHosts().isEmpty()) {
                sh.getServletHosts().get(0).setDefaultPort(uri.getPort());
            }
        }
    }
View Full Code Here

    public EmbeddedSCADomain(ClassLoader runtimeClassLoader,
                            String domainURI) {
        this.uri = domainURI;
       
        // Create a runtime
        runtime = new RuntimeBootStrapper(runtimeClassLoader);
    }
View Full Code Here

    }

    private void setDefaultPort() {
        URI uri = URI.create(domainURI);
        if (uri.getPort() > -1) {
            RuntimeBootStrapper rt = ((NodeImpl)node).getRuntime();
            ServletHostExtensionPoint sh = rt.getExtensionPointRegistry().getExtensionPoint(ServletHostExtensionPoint.class);
            if (sh != null && sh.getServletHosts() != null && !sh.getServletHosts().isEmpty()) {
                sh.getServletHosts().get(0).setDefaultPort(uri.getPort());
            }
        }
    }
View Full Code Here

    }

    private void setDefaultPort() {
        URI uri = URI.create(domainURI);
        if (uri.getPort() > -1) {
            RuntimeBootStrapper rt = ((NodeImpl)node).getRuntime();
            ServletHostExtensionPoint sh = rt.getExtensionPointRegistry().getExtensionPoint(ServletHostExtensionPoint.class);
            if (sh != null && sh.getServletHosts() != null && !sh.getServletHosts().isEmpty()) {
                sh.getServletHosts().get(0).setDefaultPort(uri.getPort());
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.node.impl.RuntimeBootStrapper

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.