Package org.apache.ivory.util

Examples of org.apache.ivory.util.EmbeddedServer


public class Main {

    public static void main(String[] args) throws Exception {

        EmbeddedServer server = new EmbeddedServer(15000,
                "webapp/target/ivory-webapp-0.2-SNAPSHOT");
        server.start();
       
        BrokerService broker = new BrokerService();
        broker.setUseJmx(false);
    broker.setDataDirectory("target/");
    broker.addConnector("vm://localhost");
View Full Code Here


import org.apache.ivory.util.EmbeddedServer;

public class Prism {

    public static void main(String[] args) throws Exception {
        EmbeddedServer server = new EmbeddedServer(16000,
                "prism/target/ivory-prism-0.2-SNAPSHOT");
        server.start();
    }
View Full Code Here

                StartupProperties.get().getProperty("application.services")
                        .replace("org.apache.ivory.service.ProcessSubscriberService", ""));
        String store = StartupProperties.get().getProperty("config.store.uri");
        StartupProperties.get().setProperty("config.store.uri", store + System.currentTimeMillis());
        if (new File("webapp/src/main/webapp").exists()) {
            this.server = new EmbeddedServer(15000, "webapp/src/main/webapp");
        } else if (new File("src/main/webapp").exists()) {
            this.server = new EmbeddedServer(15000, "src/main/webapp");
        } else {
            throw new RuntimeException("Cannot run jersey tests");
        }
        ClientConfig config = new DefaultClientConfig();
        Client client = Client.create(config);
View Full Code Here

TOP

Related Classes of org.apache.ivory.util.EmbeddedServer

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.