Package com.netflix.exhibitor.core.rest

Examples of com.netflix.exhibitor.core.rest.UIContext


        builder.shutdownProc(makeShutdownProc(this));
        exhibitor = new Exhibitor(configProvider, null, backupProvider, builder.build());
        exhibitor.start();

        DefaultResourceConfig   application = JerseySupport.newApplicationConfig(new UIContext(exhibitor));
        ServletContainer        container = new ServletContainer(application);
        server = new Server(httpPort);
        Context root = new Context(server, "/", Context.SESSIONS);
        root.addServlet(new ServletHolder(container), "/*");
        if ( security != null )
View Full Code Here


        DefaultResourceConfig   localConfig;
        Exhibitor               exhibitor = (Exhibitor)context.getAttribute(ExhibitorServletContextListener.class.getName());
        if ( exhibitor != null )
        {
            log.info("Adding Exhibitor Jersey resources");
            localConfig = JerseySupport.newApplicationConfig(new UIContext(exhibitor));
        }
        else
        {
            log.info("Using DefaultResourceConfig");
            localConfig = new DefaultResourceConfig();
View Full Code Here

TOP

Related Classes of com.netflix.exhibitor.core.rest.UIContext

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.