public class DropwizardLifecycleListener
extends java.lang.Object
implements io.dropwizard.lifecycle.ServerLifecycleListener, io.dropwizard.lifecycle.Managed
| Constructor and Description |
|---|
DropwizardLifecycleListener(MethodsCollector collector) |
| Modifier and Type | Method and Description |
|---|---|
void |
serverStarted(org.eclipse.jetty.server.Server server) |
void |
start() |
void |
stop() |
public DropwizardLifecycleListener(MethodsCollector collector)
public void start()
throws java.lang.Exception
start in interface io.dropwizard.lifecycle.Managedjava.lang.Exceptionpublic void serverStarted(org.eclipse.jetty.server.Server server)
serverStarted in interface io.dropwizard.lifecycle.ServerLifecycleListenerpublic void stop()
throws java.lang.Exception
stop in interface io.dropwizard.lifecycle.Managedjava.lang.Exception