Search in sources :

Example 1 with StandardUndeployer

use of org.eclipse.jetty.deploy.bindings.StandardUndeployer in project jetty.project by eclipse.

the class DeploymentManager method doStart.

@Override
protected void doStart() throws Exception {
    if (getContexts() == null)
        throw new IllegalStateException("No Contexts");
    if (_useStandardBindings) {
        LOG.debug("DeploymentManager using standard bindings");
        addLifeCycleBinding(new StandardDeployer());
        addLifeCycleBinding(new StandardStarter());
        addLifeCycleBinding(new StandardStopper());
        addLifeCycleBinding(new StandardUndeployer());
    }
    // Start all of the AppProviders
    for (AppProvider provider : _providers) {
        startAppProvider(provider);
    }
    super.doStart();
}
Also used : StandardStopper(org.eclipse.jetty.deploy.bindings.StandardStopper) StandardDeployer(org.eclipse.jetty.deploy.bindings.StandardDeployer) StandardStarter(org.eclipse.jetty.deploy.bindings.StandardStarter) StandardUndeployer(org.eclipse.jetty.deploy.bindings.StandardUndeployer)

Aggregations

StandardDeployer (org.eclipse.jetty.deploy.bindings.StandardDeployer)1 StandardStarter (org.eclipse.jetty.deploy.bindings.StandardStarter)1 StandardStopper (org.eclipse.jetty.deploy.bindings.StandardStopper)1 StandardUndeployer (org.eclipse.jetty.deploy.bindings.StandardUndeployer)1