Package io.dropwizard.lifecycle

Examples of io.dropwizard.lifecycle.JettyManaged


     * {@code managed} will be stopped.
     *
     * @param managed a managed object
     */
    public void manage(Managed managed) {
        managedObjects.add(new JettyManaged(checkNotNull(managed)));
    }
View Full Code Here


        final Object bean = ImmutableList.copyOf(container.getBeans()).get(0);
        assertThat(bean)
                .isInstanceOf(JettyManaged.class);

        final JettyManaged jettyManaged = (JettyManaged) bean;

        assertThat(jettyManaged.getManaged())
                .isEqualTo(managed);
    }
View Full Code Here

TOP

Related Classes of io.dropwizard.lifecycle.JettyManaged

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.