Package io.dropwizard.lifecycle
Class JettyManaged
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- io.dropwizard.lifecycle.JettyManaged
-
-
Constructor Summary
Constructors Constructor Description JettyManaged(Managed managed)
Creates a new JettyManaged wrappingmanaged
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doStart()
protected void
doStop()
Managed
getManaged()
String
toString()
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
-
-
-
-
Method Detail
-
getManaged
public Managed getManaged()
-
doStart
protected void doStart() throws Exception
- Overrides:
doStart
in classorg.eclipse.jetty.util.component.AbstractLifeCycle
- Throws:
Exception
-
doStop
protected void doStop() throws Exception
- Overrides:
doStop
in classorg.eclipse.jetty.util.component.AbstractLifeCycle
- Throws:
Exception
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.jetty.util.component.AbstractLifeCycle
-
-